From 2ea34c47dd9819111f3cbaa2ce848581d286c05c Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 6 Jul 2015 14:09:24 -0400 Subject: 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. --- Annex/Branch.hs | 1 + 1 file changed, 1 insertion(+) (limited to 'Annex') 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" -- cgit v1.2.3