This commit is contained in:
Joey Hess 2023-02-07 12:35:01 -04:00
parent a7ece3af99
commit 4b330203fc
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -0,0 +1,39 @@
[[!comment format=mdwn
username="joey"
subject="""comment 1"""
date="2023-02-07T16:19:21Z"
content="""
That's weird. It does work for me:
joey@darkstar:~/tmp/xxx>git annex group .
joey@darkstar:~/tmp/xxx>git annex group . transfer
group . ok
(recording state in git...)
joey@darkstar:~/tmp/xxx>git annex group . manual
group . ok
(recording state in git...)
joey@darkstar:~/tmp/xxx>git annex ungroup . transfer
ungroup . ok
(recording state in git...)
joey@darkstar:~/tmp/xxx>git annex group .
manual
That's with exactly the same version of git-annex too (10.20221003).
The "Specify a repository and a group." error is only
displayed when there are not exactly 2 parameters. You
seem to be providing exactly 2, but it seems we need
to rule out the possibility that something (eg the shell, a
wrapper program, or git) is causing some other number of
parameters to be provided..
joey@darkstar:~/tmp/xxx>strace -o log git-annex ungroup . transfer
ungroup . ok
(recording state in git...)
joey@darkstar:~/tmp/xxx>grep execve log
execve("/usr/bin/git-annex", ["git-annex", "ungroup", ".", "transfer"], 0x7ffde3606738 /* 66 vars */) = 0
joey@darkstar:~/tmp/grep execve log | head -n2
2720010 execve("/usr/bin/git", ["git", "annex", "ungroup", ".", "transfer"], 0x7fff42a31338 /* 66 vars */) = 0
2720011 execve("/usr/bin/git-annex", ["/usr/bin/git-annex", "ungroup", ".", "transfer"], 0x55e494ddb4f0 /* 67 vars */ <unfinished ...>
"""]]