bugfix: Pass --full-tree when using git ls-files to get a list of files on the git-annex branch, so it works when run in a subdirectory. This bug affected git-annex unused, and potentially also transitions running code and other things.
This commit is contained in:
parent
c9c63b092e
commit
174da80ddc
4 changed files with 23 additions and 0 deletions
|
@ -316,6 +316,7 @@ files = do
|
|||
branchFiles :: Annex [FilePath]
|
||||
branchFiles = withIndex $ inRepo $ Git.Command.pipeNullSplitZombie
|
||||
[ Param "ls-tree"
|
||||
, Param "--full-tree"
|
||||
, Param "--name-only"
|
||||
, Param "-r"
|
||||
, Param "-z"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue