explicity run queue to git add files
This commit is contained in:
parent
99d9c1cf89
commit
d0886a9ac7
2 changed files with 1 additions and 2 deletions
|
@ -33,7 +33,7 @@ start file = do
|
||||||
-- drop that and stage the symlink
|
-- drop that and stage the symlink
|
||||||
g <- Annex.gitRepo
|
g <- Annex.gitRepo
|
||||||
liftIO $ Git.run g ["reset", "-q", "--", file]
|
liftIO $ Git.run g ["reset", "-q", "--", file]
|
||||||
liftIO $ Git.run g ["add", "--", file]
|
Annex.queueRun
|
||||||
|
|
||||||
-- Fix symlinks as they are committed, this ensures the
|
-- Fix symlinks as they are committed, this ensures the
|
||||||
-- relative links are not broken when moved around.
|
-- relative links are not broken when moved around.
|
||||||
|
|
|
@ -166,7 +166,6 @@ and this symlink is what gets committed to git in the end.
|
||||||
# echo "now smaller, but even cooler" > my_cool_big_file
|
# echo "now smaller, but even cooler" > my_cool_big_file
|
||||||
# git commit my_cool_big_file -m "changed an annexed file"
|
# git commit my_cool_big_file -m "changed an annexed file"
|
||||||
add my_cool_big_file ok
|
add my_cool_big_file ok
|
||||||
(Recording state in git...)
|
|
||||||
[master 64cda67] changed an annexed file
|
[master 64cda67] changed an annexed file
|
||||||
2 files changed, 2 insertions(+), 1 deletions(-)
|
2 files changed, 2 insertions(+), 1 deletions(-)
|
||||||
create mode 100644 .git-annex/SHA1:0b1d8616d0238cb9418a0e0a649bdad2e9e7faae.log
|
create mode 100644 .git-annex/SHA1:0b1d8616d0238cb9418a0e0a649bdad2e9e7faae.log
|
||||||
|
|
Loading…
Reference in a new issue