summaryrefslogtreecommitdiff
path: root/doc/bugs/reports_success_when_addurl_--batch__a_file_which_is_.gitignore__39__d.mdwn
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2017-09-29 12:55:42 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2017-09-29 12:55:42 -0400
commit0dfc1d4e6eb37aadaba47a210539b2438fba97f5 (patch)
treee0beee12909c581f06829060a93a72d6686ca730 /doc/bugs/reports_success_when_addurl_--batch__a_file_which_is_.gitignore__39__d.mdwn
parentbd2a9fb40ef0bbe812e8ea375a5caabd6e628ef2 (diff)
remove old closed bugs and todo items to speed up wiki updates and reduce size
Remove closed bugs and todos that were last edited or commented before 2017. Command line used: for f in $(grep -l '|done\]\]' -- *.mdwn); do d="$(echo "$f" | sed 's/.mdwn$//')"; if [ -z "$(git log --since=01-01-2017 --pretty=oneline -- "$f")" -a -z "$(git log --since=01-01-2017 --pretty=oneline -- "$d")" ]; then git rm -- "./$f" ; git rm -rf "./$d"; fi; done for f in $(grep -l '\[\[done\]\]' -- *.mdwn); do d="$(echo "$f" | sed 's/.mdwn$//')"; if [ -z "$(git log --since=01-01-2017 --pretty=oneline -- "$f")" -a -z "$(git log --since=01-01-2017 --pretty=oneline -- "$d")" ]; then git rm -- "./$f" ; git rm -rf "./$d"; fi; done
Diffstat (limited to 'doc/bugs/reports_success_when_addurl_--batch__a_file_which_is_.gitignore__39__d.mdwn')
-rw-r--r--doc/bugs/reports_success_when_addurl_--batch__a_file_which_is_.gitignore__39__d.mdwn36
1 files changed, 0 insertions, 36 deletions
diff --git a/doc/bugs/reports_success_when_addurl_--batch__a_file_which_is_.gitignore__39__d.mdwn b/doc/bugs/reports_success_when_addurl_--batch__a_file_which_is_.gitignore__39__d.mdwn
deleted file mode 100644
index 1fbd3bdaa..000000000
--- a/doc/bugs/reports_success_when_addurl_--batch__a_file_which_is_.gitignore__39__d.mdwn
+++ /dev/null
@@ -1,36 +0,0 @@
-### Please describe the problem.
-
-Reports success although file is not added to git, since ignored due to .gitignore
-
-Although not sure yet if that is annex could actually take care about since probably annex stages those for 'add' command to git so wouldn't know right when addurl is called for a specific file?
-
-### What steps will reproduce the problem?
-
-see below
-
-### What version of git-annex are you using? On what operating system?
-
-6.20160728+gitg9a2fe62-1~ndall+1
-
-
-[[!format sh """
-
-$> rm -rf /tmp/123; mkdir /tmp/123; cd /tmp/123; git init; echo "*exclude*" >| .git/info/exclude; git annex init; { echo "http://www.onerussian.com/tmp/1exclude.txt 1exclude.txt"; echo "2nd one" >&2; echo "http://www.onerussian.com/tmp/2.txt 2.txt"\; } | git annex addurl -c annex.largefiles=exclude=*.txt --batch --json --with-files
-Initialized empty Git repository in /tmp/123/.git/
-init ok
-(recording state in git...)
-2nd one
-{"command":"addurl","key":null,"file":"1exclude.txt","note":"downloading http://www.onerussian.com/tmp/1exclude.txt ...","note":"non-large file; adding content to git repository","success":true}
-{"command":"addurl","key":null,"file":"2.txt;","note":"downloading http://www.onerussian.com/tmp/2.txt ...","key":"SHA256E-s2--53c234e5e8472b6ac51c1ae1cab3fe06fad053beb8ebfd8977b010655bfdd3c3.txt","success":true}
-The following paths are ignored by one of your .gitignore files:
-1exclude.txt
-Use -f if you really want to add them.
-git-annex: user error (xargs ["-0","git","--git-dir=.git","--work-tree=.","--literal-pathspecs","-c","annex.largefiles=exclude=*.txt","add","--"] exited 123)
-"""]]
-
-[[!meta author=yoh]]
-
-> And it leaves the unstaged symlink behind too.
->
-> [[fixed|done]] to check ignore status before creating the file.
-> --[[Joey]]