From b63f39601ee4152dec92620b4be3d72716f0c94e Mon Sep 17 00:00:00 2001 From: eslgastal Date: Thu, 4 Aug 2016 00:56:30 +0000 Subject: Added a comment --- .../comment_2_9044c9b76f25114914f68afe0c7c0506._comment | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 doc/todo/__34__copy_--failed__34__/comment_2_9044c9b76f25114914f68afe0c7c0506._comment diff --git a/doc/todo/__34__copy_--failed__34__/comment_2_9044c9b76f25114914f68afe0c7c0506._comment b/doc/todo/__34__copy_--failed__34__/comment_2_9044c9b76f25114914f68afe0c7c0506._comment new file mode 100644 index 000000000..57ae3727e --- /dev/null +++ b/doc/todo/__34__copy_--failed__34__/comment_2_9044c9b76f25114914f68afe0c7c0506._comment @@ -0,0 +1,7 @@ +[[!comment format=mdwn + username="eslgastal" + subject="comment 2" + date="2016-08-04T00:56:30Z" + content=""" +That was fast! Thanks again Joey. +"""]] -- cgit v1.2.3 From 1bfd6e84612079a59ea5a09a16faa8010aaf567a Mon Sep 17 00:00:00 2001 From: listx Date: Thu, 4 Aug 2016 02:07:55 +0000 Subject: Added a comment --- ...ent_3_78bc3e56502e425f4f77bc35ed2199b8._comment | 41 ++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 doc/forum/git_annex_vicfg___40__preferred_content__41___examples/comment_3_78bc3e56502e425f4f77bc35ed2199b8._comment diff --git a/doc/forum/git_annex_vicfg___40__preferred_content__41___examples/comment_3_78bc3e56502e425f4f77bc35ed2199b8._comment b/doc/forum/git_annex_vicfg___40__preferred_content__41___examples/comment_3_78bc3e56502e425f4f77bc35ed2199b8._comment new file mode 100644 index 000000000..c1345862b --- /dev/null +++ b/doc/forum/git_annex_vicfg___40__preferred_content__41___examples/comment_3_78bc3e56502e425f4f77bc35ed2199b8._comment @@ -0,0 +1,41 @@ +[[!comment format=mdwn + username="listx" + subject="comment 3" + date="2016-08-04T02:07:55Z" + content=""" +I went ahead and used `git annex wanted . \"exclude=FOO\"` and it did what I wanted. For posterity, here are some other observations: + +- The file that `git annex vicfg` shows was updated to include the invocation of `git annex wanted`, like this: + +``` +...(truncated for brevity)... +# Repository preferred contents +# (Set to \"standard\" to use a repository's group's preferred contents) +# (for k0) +wanted a71d805d-df77-42e7-97b0-ba7686c05083 = exclude=FOO +# (for web) +...(truncated for brevity)... +``` + +()- I noticed that the UUID above matches the UUID found in my `.git/config` file, which looks like this: + +``` +[core] + repositoryformatversion = 0 + filemode = true + bare = false + logallrefupdates = true +[remote \"origin\"] + url = m0:/mnt/a/annex.git + fetch = +refs/heads/*:refs/remotes/origin/* + annex-uuid = c5c012cc-2080-481f-81bc-7f449f33490b +[branch \"master\"] + remote = origin + merge = refs/heads/master +[annex] + uuid = a71d805d-df77-42e7-97b0-ba7686c05083 + version = 5 +``` + +. +"""]] -- cgit v1.2.3 From ff777a66b3d2ba3034555c4e83a5f6950aad3a49 Mon Sep 17 00:00:00 2001 From: "josch@9a7314a25217c684aba3754f3eb9f915b4c8cb39" Date: Thu, 4 Aug 2016 06:45:47 +0000 Subject: --- ...nd_unused_files_after_git_history_was_rewritten.mdwn | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 doc/forum/__34__git_annex_unused__34___doesn__39__t_find_unused_files_after_git_history_was_rewritten.mdwn diff --git a/doc/forum/__34__git_annex_unused__34___doesn__39__t_find_unused_files_after_git_history_was_rewritten.mdwn b/doc/forum/__34__git_annex_unused__34___doesn__39__t_find_unused_files_after_git_history_was_rewritten.mdwn new file mode 100644 index 000000000..cbf9770c3 --- /dev/null +++ b/doc/forum/__34__git_annex_unused__34___doesn__39__t_find_unused_files_after_git_history_was_rewritten.mdwn @@ -0,0 +1,17 @@ +Hi, + +I recently cleaned my git history using: + + git filter-branch --tree-filter 'rm -rf personal/Mail' --prune-empty HEAD + git for-each-ref --format="%(refname)" refs/original/ | xargs -n 1 git update-ref -d + git gc + +I then ran: + + git annex unused + +But was surprised to find that it didn't report any unused files. Not surprisingly (given that I didn't touch the annex data at all so far), when looking into `.git/annex/objects/` I still find the content of all the files that are now not used anymore. + +Is there a way to clean these up besides creating a fresh clone of the repository? + +Thanks! -- cgit v1.2.3 From d54c53ba1e1986cf29a923452499d9c29a141f85 Mon Sep 17 00:00:00 2001 From: "dgray@c271d419d641bd22709a8e53c8b644231a99fa0c" Date: Thu, 4 Aug 2016 11:12:50 +0000 Subject: --- ...__34____63____34___causes_unknown_response.mdwn | 47 ++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 doc/bugs/filename_with___34____63____34___causes_unknown_response.mdwn diff --git a/doc/bugs/filename_with___34____63____34___causes_unknown_response.mdwn b/doc/bugs/filename_with___34____63____34___causes_unknown_response.mdwn new file mode 100644 index 000000000..842511972 --- /dev/null +++ b/doc/bugs/filename_with___34____63____34___causes_unknown_response.mdwn @@ -0,0 +1,47 @@ +### Please describe the problem. +When I do git annex add on a directory with a filename that include a "?" +I get an error: +git-annex: unknown response from git cat-file ("HEAD:./Home/wc/Icon missing","HEAD:./Home/wc/Icon\r") +CallStack (from HasCallStack): + error, called at ./Git/CatFile.hs:86:48 in main:Git.CatFile + +where the file here was called "Icon?" + +### What steps will reproduce the problem? +mkdir test + +cd test + +git init + +git annex init "test" + +cp ~/Desktop/Icon? . + +ls + +Icon? + +git annex add . + + git-annex: unknown response from git cat-file ("HEAD:./Icon missing","HEAD:./Icon\r") +CallStack (from HasCallStack): + error, called at ./Git/CatFile.hs:86:48 in main:Git.CatFile + +### What version of git-annex are you using? On what operating system? +git-annex-6.20160619 + +OSX El Capitan using brew install git-annex + +### 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 + + +# End of transcript or log. +"""]] + +### 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) + -- cgit v1.2.3