Your message dated Mon, 10 Jun 2013 09:27:48 -0400
with message-id <[email protected]>
and subject line Re: Bug#634347:
has caused the Debian Bug report #634347,
regarding git-annex - unannex does not work
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
634347: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=634347
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: git-annex
Version: 3.20110707
Severity: normal
git annex unannex is documented as the reversal of add.
It does not work:
| $ git annex init test
| init test ok
| $ cp /etc/motd .
| $ git annex add motd
| add motd ok
| (Recording state in git...)
| $ git annex unannex motd
| git-annex: This command cannot be run when there are already files staged for
commit.
After a unstage, it is completely silent:
| $ git rm --cached motd
| rm 'motd'
| $ git status
| # On branch master
| #
| # Initial commit
| #
| # Untracked files:
| # (use "git add <file>..." to include in what will be committed)
| #
| # motd
| nothing added to commit but untracked files present (use "git add" to track)
| $ git annex unannex motd
| $ ls -l
| total 0
| lrwxrwxrwx 1 bastian bastian 80 18. Jul 20:55 motd ->
.git/annex/objects/94/7P/WORM-s375-m1311015311--motd/WORM-s375-m1311015311--motd
Bastian
-- System Information:
Debian Release: 6.0.1
APT prefers stable
APT policy: (990, 'stable'), (500, 'stable-updates'), (500, 'testing'), (400,
'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-amd64 (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages git-annex depends on:
ii git [git-core] 1:1.7.2.5-1 fast, scalable, distributed revisi
ii libc6 2.11.2-10 Embedded GNU C Library: Shared lib
ii libffi5 3.0.9-3 Foreign Function Interface library
ii libgmp10 2:5.0.1+dfsg-7 Multiprecision arithmetic library
ii libpcre3 8.12-3 Perl 5 Compatible Regular Expressi
ii openssh-client 1:5.5p1-6 secure shell (SSH) client, for sec
ii rsync 3.0.7-2 fast remote file copy program (lik
ii uuid 1.6.2-1 the Universally Unique Identifier
git-annex recommends no packages.
Versions of packages git-annex suggests:
pn bup <none> (no description available)
ii gnupg 1.4.10-4 GNU privacy guard - a free PGP rep
pn graphviz <none> (no description available)
-- no debconf information
--- End Message ---
--- Begin Message ---
Nicolás Alvarez wrote:
> What is the correct way to undo accidental "git annex add"s then?
joey@gnu:~/tmp/me>date > new
joey@gnu:~/tmp/me>git annex add new
add new (checksum...) ok
(Recording state in git...)
gijoey@gnu:~/tmp/me>git annex unannex new
unannex new ok
(Recording state in git...)
This is an old bug, it seems to work fine now.
--
see shy jo
signature.asc
Description: Digital signature
--- End Message ---