Merge branch 'master' of ssh://git-annex.branchable.com
This commit is contained in:
commit
a474304f1d
3 changed files with 22 additions and 0 deletions
11
doc/forum/copy_symlinks.mdwn
Normal file
11
doc/forum/copy_symlinks.mdwn
Normal file
|
@ -0,0 +1,11 @@
|
|||
Hi,
|
||||
|
||||
I'm always confused when I try to copy a file within an annex repository. I know that I can just copy the symlink, so I don't have to move the actual data around. But what do I do with the new symlink: "git add" or "git annex add"? And what happens when I do the wrong one?
|
||||
|
||||
Since "git annex add FILE" usually creates a symlink to FILE (and then git add on the symlink) I wonder if I'll end up with a symlink to a symlink. Would be somehow logical but pretty confusing.
|
||||
|
||||
So I think both "git add LINK" and "git annex add LINK" should behave identical when LINK is a copy of symlink of an annexed file. However, this would still be confusing, since one would not expect that both commands behave identical in some situations but different in other situations.
|
||||
|
||||
So, what's the best way to copy an already annexed file (destination in the same repository)?
|
||||
|
||||
Best, Mario
|
|
@ -0,0 +1,10 @@
|
|||
[[!comment format=mdwn
|
||||
username="CandyAngel"
|
||||
avatar="http://cdn.libravatar.org/avatar/15c0aade8bec5bf004f939dd73cf9ed8"
|
||||
subject="comment 1"
|
||||
date="2019-04-15T07:34:21Z"
|
||||
content="""
|
||||
`git add` and `git annex add` do both behave the same on symlinks (at least, in indirect annexes).
|
||||
|
||||
They are just staged (then fixed on commit, if required).
|
||||
"""]]
|
1
doc/todo/git-annex-get_--batch_--key.mdwn
Normal file
1
doc/todo/git-annex-get_--batch_--key.mdwn
Normal file
|
@ -0,0 +1 @@
|
|||
Can git-annex-get be extended so that "git-annex-get --batch --key" fetches the keys (rather than filenames) given in the input?
|
Loading…
Add table
Reference in a new issue