init: When run in an already initalized repository, and without a description specified, don't delete the old description.
This commit is contained in:
parent
e9bfa8eaed
commit
cea65b9e5b
2 changed files with 3 additions and 1 deletions
|
@ -27,5 +27,5 @@ start ws = do
|
||||||
|
|
||||||
perform :: String -> CommandPerform
|
perform :: String -> CommandPerform
|
||||||
perform description = do
|
perform description = do
|
||||||
initialize (Just description)
|
initialize $ if null description then Nothing else Just description
|
||||||
next $ return True
|
next $ return True
|
||||||
|
|
2
debian/changelog
vendored
2
debian/changelog
vendored
|
@ -4,6 +4,8 @@ git-annex (3.20111112) UNRELEASED; urgency=low
|
||||||
* Avoid doing auto-merging in commands that don't need fully current
|
* Avoid doing auto-merging in commands that don't need fully current
|
||||||
information from the git-annex branch. In particular, git annex add
|
information from the git-annex branch. In particular, git annex add
|
||||||
no longer needs to auto-merge.
|
no longer needs to auto-merge.
|
||||||
|
* init: When run in an already initalized repository, and without
|
||||||
|
a description specified, don't delete the old description.
|
||||||
|
|
||||||
-- Joey Hess <joeyh@debian.org> Sat, 12 Nov 2011 14:50:21 -0400
|
-- Joey Hess <joeyh@debian.org> Sat, 12 Nov 2011 14:50:21 -0400
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue