don't configure smudge filter in bare repo
Pointless to do it there. Also, the git status call would fail in such a repo.
This commit is contained in:
parent
c565340adc
commit
2b0cc71fbf
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ import qualified Git.Command
|
|||
import Config
|
||||
|
||||
configureSmudgeFilter :: Annex ()
|
||||
configureSmudgeFilter = do
|
||||
configureSmudgeFilter = unlessM (fromRepo Git.repoIsLocalBare) $
|
||||
-- If this is run in a newly cloned repository, git may not have
|
||||
-- cached file information in the index yet, and so after
|
||||
-- configuring the clean filter, the next git status would want to
|
||||
|
|
Loading…
Reference in a new issue