diff options
author | Joey Hess <joeyh@joeyh.name> | 2015-07-06 14:09:24 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2015-07-06 14:09:54 -0400 |
commit | 2ea34c47dd9819111f3cbaa2ce848581d286c05c (patch) | |
tree | b3cc25b3b1c4e8d591394fa0d14817d4cae4424b /Annex | |
parent | 83d0d7b74894be4ef8a655478deb106177839b1c (diff) |
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.
Diffstat (limited to 'Annex')
-rw-r--r-- | Annex/Branch.hs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Annex/Branch.hs b/Annex/Branch.hs index 1a57e2342..286eb0558 100644 --- a/Annex/Branch.hs +++ b/Annex/Branch.hs @@ -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" |