summaryrefslogtreecommitdiff
path: root/doc/bugs/Specifying_a_filename_starting_with___34__-c__34___instead_applies_it_to_all_files.mdwn
diff options
context:
space:
mode:
Diffstat (limited to 'doc/bugs/Specifying_a_filename_starting_with___34__-c__34___instead_applies_it_to_all_files.mdwn')
-rw-r--r--doc/bugs/Specifying_a_filename_starting_with___34__-c__34___instead_applies_it_to_all_files.mdwn75
1 files changed, 0 insertions, 75 deletions
diff --git a/doc/bugs/Specifying_a_filename_starting_with___34__-c__34___instead_applies_it_to_all_files.mdwn b/doc/bugs/Specifying_a_filename_starting_with___34__-c__34___instead_applies_it_to_all_files.mdwn
deleted file mode 100644
index 52db9e0ae..000000000
--- a/doc/bugs/Specifying_a_filename_starting_with___34__-c__34___instead_applies_it_to_all_files.mdwn
+++ /dev/null
@@ -1,75 +0,0 @@
-### Please describe the problem.
-Trying to apply certain commands - such as 'drop' - to a filename which starts with "-c" instead applies it to all files. In the instance where I found this, I was using "drop --force" and it caused it to indiscriminately get rid of everything in the directory instead of a single file.
-
-### What steps will reproduce the problem?
-1. Make a repository.
-2. Create several files and add them.
-3. Create a file whose name begins with "-c" and add it as well.
-4. Run "git annex drop <fname>" where 'fname' is the file from that last step.
-
-### What version of git-annex are you using? On what operating system?
-4.20130516-gedc4ccd on Arch Linux
-
-### Please provide any additional information below.
-
-[[!format sh """
-# If you can, paste a complete transcript of the problem occurring here.
-# If the problem is with the git-annex assistant, paste in .git/annex/daemon.log
-
-[user@host ~]$ mkdir annex_test
-[user@host ~]$ cd annex_test/
-[user@host annex_test]$ ls
-[user@host annex_test]$ git init
-Initialized empty Git repository in /home/user/annex_test/.git/
-[user@host annex_test]$ git annex init "test"
-init test ok
-(Recording state in git...)
-[user@host annex_test]$
-[user@host annex_test]$ echo foo > foo
-[user@host annex_test]$ echo bar > bar
-[user@host annex_test]$ echo baz > baz
-[user@host annex_test]$ echo test > "-c-test"
-[user@host annex_test]$ git annex add *
-add bar (checksum...) ok
-add baz (checksum...) ok
-add foo (checksum...) ok
-(Recording state in git...)
-[user@host annex_test]$ git annex add -c-test
-add -c-test (checksum...) ok
-(Recording state in git...)
-[user@host annex_test]$ git annex drop -c-test
-drop -c-test (unsafe)
- Could only verify the existence of 0 out of 1 necessary copies
-
- Rather than dropping this file, try using: git annex move
-
- (Use --force to override this check, or adjust annex.numcopies.)
-failed
-drop bar (unsafe)
- Could only verify the existence of 0 out of 1 necessary copies
-
- Rather than dropping this file, try using: git annex move
-
- (Use --force to override this check, or adjust annex.numcopies.)
-failed
-drop baz (unsafe)
- Could only verify the existence of 0 out of 1 necessary copies
-
- Rather than dropping this file, try using: git annex move
-
- (Use --force to override this check, or adjust annex.numcopies.)
-failed
-drop foo (unsafe)
- Could only verify the existence of 0 out of 1 necessary copies
-
- Rather than dropping this file, try using: git annex move
-
- (Use --force to override this check, or adjust annex.numcopies.)
-failed
-git-annex: drop: 4 failed
-
-
-# End of transcript or log.
-"""]]
-
-> Closing, as this is basically user error. [[done]] --[[Joey]]