summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorGravatar jfjlaros <jfjlaros@web>2014-10-06 14:15:05 +0000
committerGravatar admin <admin@branchable.com>2014-10-06 14:15:05 +0000
commit49cd0c49e4b7ab464cc029215c10dbd599a49acd (patch)
tree6d94dc7ed427e29a62bb11726597d4070cde0eb0 /doc
parent3dea018be10c56ee0ec793d20b2c73d290259d12 (diff)
Diffstat (limited to 'doc')
-rw-r--r--doc/bugs/Drop_files_with_the_same_checksum..mdwn30
1 files changed, 30 insertions, 0 deletions
diff --git a/doc/bugs/Drop_files_with_the_same_checksum..mdwn b/doc/bugs/Drop_files_with_the_same_checksum..mdwn
new file mode 100644
index 000000000..e22e1f18d
--- /dev/null
+++ b/doc/bugs/Drop_files_with_the_same_checksum..mdwn
@@ -0,0 +1,30 @@
+### Please describe the problem.
+When two identical files are annexed and one of them is dropped, both files are gone (one dangling symlink is left). This may be intentional (the checksums are the same after all), but then is there a way to drop one of the files?
+
+### What steps will reproduce the problem?
+
+ mkdir annex
+ cd annex
+ git init
+ git annex init
+ mkdir a b
+ dd if=/dev/urandom of=a/data.bin count=2048
+ cp a/data.bin b
+ git annex add a/data.bin b/data.bin
+ git commit -m "Added raw data."
+ git annex drop --force a/data.bin
+ file b/data.bin
+
+### What version of git-annex are you using? On what operating system?
+
+git-annex version: 5.20140831+b1
+build flags: Assistant Webapp Webapp-secure Pairing Testsuite S3 WebDAV Inotify DBus DesktopNotify XMPP DNS Feeds Quvi TDFA CryptoHash
+key/value backends: SHA256E SHA1E SHA512E SHA224E SHA384E SKEIN256E SKEIN512E SHA256 SHA1 SHA512 SHA224 SHA384 SKEIN256 SKEIN512 WORM URL
+remote types: git gcrypt S3 bup directory rsync web webdav tahoe glacier ddar hook external
+local repository version: 5
+supported repository version: 5
+
+Distributor ID: Debian
+Description: Debian GNU/Linux testing (jessie)
+Release: testing
+Codename: jessie