close
This commit is contained in:
parent
fc80956092
commit
a3b0fb8330
1 changed files with 14 additions and 0 deletions
|
@ -12,3 +12,17 @@ When I `git mv` a file that I just `git annex add`-ed without having `git commit
|
|||
### What version of git-annex are you using? On what operating system?
|
||||
|
||||
5.20140529 on Debian testing
|
||||
|
||||
> This is fundamentally something git-annex cannot deal with,
|
||||
> because there is no way to hook into git to fix the symlink when
|
||||
> `git mv` moves the file.
|
||||
>
|
||||
> Instead, git-annex has several "good enough" fixes for the problem:
|
||||
>
|
||||
> * As soon as you `git commit`, the pre-commit hook will run `git annex
|
||||
> fix` and this will fix the symlink before it gets committed.
|
||||
> * You can run `git annex fix` yourself after `git mv`.
|
||||
> * Even `git annex add $file` will fix the symlink if the file is already
|
||||
> annexed.
|
||||
>
|
||||
> So, [[done]] --[[Joey]]
|
||||
|
|
Loading…
Reference in a new issue