bug
This commit is contained in:
parent
b19c2e6122
commit
780edebf2e
1 changed files with 10 additions and 0 deletions
10
doc/bugs/direct_mode_renames.mdwn
Normal file
10
doc/bugs/direct_mode_renames.mdwn
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
When in direct mode, renaming a file with `git mv` does not update the
|
||||||
|
direct mode mapping to use the new filename. This can lead to unexpected
|
||||||
|
behavior later. `fsck` will correct the mapping. --[[Joey]]
|
||||||
|
|
||||||
|
Perhaps the pre-commit hook needs to update the mapping for files that were
|
||||||
|
deleted or added. This would allow manual `git mv` (and `git rm`) to work.
|
||||||
|
|
||||||
|
This also affects moves of files when the assistant is being used.
|
||||||
|
In this case, the assistant updates the mapping to add the new name,
|
||||||
|
but does not delete the old name from the mapping.
|
Loading…
Add table
Add a link
Reference in a new issue