update
This commit is contained in:
parent
af3a25ee03
commit
f08b25f47e
1 changed files with 8 additions and 5 deletions
|
@ -1,10 +1,13 @@
|
||||||
When in direct mode, renaming a file with `git mv` does not update the
|
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
|
direct mode mapping to use the new filename. --[[Joey]]
|
||||||
behavior later. `fsck` will correct the mapping. --[[Joey]]
|
|
||||||
|
Consistency checks now prevent anything bad happening when the mapping file
|
||||||
|
contains old filenames. Still, missing the new filename will prevent that
|
||||||
|
file working properly in direct mode.
|
||||||
|
|
||||||
Perhaps the pre-commit hook needs to update the mapping for files that were
|
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.
|
deleted or added.
|
||||||
|
|
||||||
This also affects moves of files when the assistant is being used.
|
(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,
|
In this case, the assistant updates the mapping to add the new name,
|
||||||
but does not delete the old name from the mapping.
|
but does not delete the old name from the mapping.)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue