avoid empty commits
This commit is contained in:
parent
c977b6b1f3
commit
bbbe9858fe
4 changed files with 16 additions and 9 deletions
|
@ -178,7 +178,8 @@ logStatus key status = do
|
|||
g <- Annex.gitRepo
|
||||
u <- getUUID g
|
||||
f <- liftIO $ logChange g key u status
|
||||
liftIO $ Git.run g ["add", f] -- committed at shutdown
|
||||
liftIO $ Git.run g ["add", f]
|
||||
Annex.flagChange NeedCommit True
|
||||
|
||||
inBackend file yes no = do
|
||||
r <- liftIO $ Backend.lookupFile file
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue