bup: Properly handle key names with spaces or other things that are not legal git refs.

Continue using the key name as bup ref name, to preserve backwards
compatability, unless it is an illegal git ref. In that case, use a sha256
of the key name instead.
This commit is contained in:
Joey Hess 2012-04-11 12:45:05 -04:00
parent 378f61d0ef
commit c924542e61
4 changed files with 22 additions and 6 deletions

2
debian/changelog vendored
View file

@ -1,6 +1,8 @@
git-annex (3.20120407) UNRELEASED; urgency=low
* bugfix: Adding a dotfile also caused all non-dotfiles to be added.
* bup: Properly handle key names with spaces or other things that are
not legal git refs.
-- Joey Hess <joeyh@debian.org> Sun, 08 Apr 2012 12:23:42 -0400