summaryrefslogtreecommitdiff
path: root/doc/bugs
diff options
context:
space:
mode:
authorGravatar hpd <hpd@web>2016-06-15 09:54:38 +0000
committerGravatar admin <admin@branchable.com>2016-06-15 09:54:38 +0000
commitacd3b2e535aab703437b202ef9d2b2b7c93844b7 (patch)
tree583978ca0aeed268b543a4fd2f567346edb1160b /doc/bugs
parentb058ffd87086c9be494a1ad9d6c7d7a0f698999f (diff)
Diffstat (limited to 'doc/bugs')
-rw-r--r--doc/bugs/unannex__58___Cannot_proceed_with_uncommitted_changes_staged_in_the_index.mdwn37
1 files changed, 37 insertions, 0 deletions
diff --git a/doc/bugs/unannex__58___Cannot_proceed_with_uncommitted_changes_staged_in_the_index.mdwn b/doc/bugs/unannex__58___Cannot_proceed_with_uncommitted_changes_staged_in_the_index.mdwn
new file mode 100644
index 000000000..ffad58ec8
--- /dev/null
+++ b/doc/bugs/unannex__58___Cannot_proceed_with_uncommitted_changes_staged_in_the_index.mdwn
@@ -0,0 +1,37 @@
+### Please describe the problem.
+
+I understand that `git annex unannex` is essentially there for undoing an accidential `git annex add`. Unfortunately it doesn't do that.
+
+If I have uncommited changes, which is the case after a `git annex add`, it tells me:
+
+ git-annex: Cannot proceed with uncommitted changes staged in the index. Recommend you: git commit
+ CallStack (from HasCallStack):
+ error, called at ./Command/Unannex.hs:48:19 in main:Command.Unannex
+
+But I would expect it to `git reset` the file and then replace the symlink by the actual file content.
+
+### What steps will reproduce the problem?
+
+ > git init
+ Initialized empty Git repository in /somewhere/.git
+ > git annex init
+ init ok
+ (recording state in git...)
+ > touch foo
+ > git annex add foo
+ add foo ok
+ (recording state in git...)
+ > git annex unannex foo
+ git-annex: Cannot proceed with uncommitted changes staged in the index. Recommend you: git commit
+ CallStack (from HasCallStack):
+ error, called at ./Command/Unannex.hs:48:19 in main:Command.Unannex
+
+### What version of git-annex are you using? On what operating system?
+
+git-annex version: 6.20160527-gf21a425
+
+Installed from the Arch Linux repository.
+
+### Have you had any luck using git-annex before? (Sometimes we get tired of reading bug reports all day and a lil' positive end note does wonders)
+
+Sure, I'm using it for photos, music and videos