8000 Fix/overwrite ignore config by NotUnHackable · Pull Request #2236 · git/git · GitHub
[go: up one dir, main page]

Skip to content

Fix/overwrite ignore config#2236

Open
NotUnHackable wants to merge 3 commits intogit:masterfrom
NotUnHackable:fix/overwrite-ignore-config
Open

Fix/overwrite ignore config#2236
NotUnHackable wants to merge 3 commits intogit:masterfrom
NotUnHackable:fix/overwrite-ignore-config

Conversation

@NotUnHackable
Copy link

No description provided.

When Git cannot find a .git directory, the error message now includes
a helpful hint suggesting to run 'git init' to initialize a new
repository. This helps new developers understand what to do when
they encounter this common error.

This follows the pattern established by the 'detected dubious ownership'
error message which provides actionable guidance to users.
Fix the read_tree_trivial() function to properly respect the
overwrite_ignore configuration. Previously, the code was hardcoding
preserve_ignored=0, ignoring both the command-line option and config
setting.

Also fix a typo in a submodule.c comment (overwright -> overwrite).
@gitgitgadget-git
Copy link

There is an issue in commit b068be7:
setup: suggest 'git init' when no repository is found

  • Commit not signed off

@gitgitgadget-git
Copy link

There is an issue in commit f4d9846:
Revert "setup: suggest 'git init' when no repository is found"

  • Commit not signed off

@gitgitgadget-git
Copy link

There is an issue in commit ce29440:
merge: respect overwrite_ignore config in trivial merges

  • Commit not signed off

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

0