Merge branch 'master' of ssh://git-annex.branchable.com

This commit is contained in:
Joey Hess 2014-03-15 17:26:14 -04:00
commit 34c6720bdf
4 changed files with 48 additions and 0 deletions

View file

@ -0,0 +1,28 @@
[[!comment format=mdwn
username="https://www.google.com/accounts/o8/id?id=AItOawkBEmz5XoJVzN0u-0nOtpn7BBBDHsiLmxY"
nickname="Eric"
subject="comment 2"
date="2014-03-15T16:17:18Z"
content="""
actually i removed .../xubuntu/... from the initial bug report, here is the text scraped directly from xterm.
xubuntu@tab:/media/xubuntu/archive/annex$ git annex map --debug
map /media/xubuntu/archive/annex ok
[2014-03-15 11:10:17 CDT] read: git [\"config\",\"--null\",\"--list\"]
[2014-03-15 11:10:17 CDT] read: git [\"config\",\"--null\",\"--list\"]
[2014-03-15 11:10:17 CDT] read: git [\"config\",\"--null\",\"--list\"]
git-annex: user error (git [\"config\",\"--null\",\"--list\"] exited 126)
failed
git-annex: map: 1 failed
xubuntu@tab:/media/xubuntu/archive/annex$ git remote
archive-backup
bkup06-a81d-1000
bkup08-da84-1000
bkup19-0064
master
master-backup
...
no obvious errors on non-zero return codes from running `git config --null --list` on all remotes
"""]]

View file

@ -0,0 +1,10 @@
[[!comment format=mdwn
username="http://joeyh.name/"
ip="209.250.56.154"
subject="comment 1"
date="2014-03-15T16:01:53Z"
content="""
I see the problem, although I have not quite managed to reproduce it. I think this would probably only happen if you have the unusual character in the extension of the file (or are using the WORM backend).
I've put a fix in git. It will be available in the next autobuild, in half an hour or so.
"""]]

View file

@ -0,0 +1,8 @@
[[!comment format=mdwn
username="bremner"
ip="198.164.160.48"
subject="convenient way to query metadata?"
date="2014-03-15T20:58:28Z"
content="""
I'd like to be able to do something like \"git annex metadata -q fieldname\" and have that output the value(s) of fieldname. I see I could parse the json output but that isn't too convenient in a shell script. Or have I missed something that already exists?
"""]]

View file

@ -0,0 +1,2 @@
My original use case was for using git-annex find from scripts, where I didn't want to depend on the branch
checked out at the time, but rather write something like "git annex find --branch=master $searchterms"