better command name

This commit is contained in:
Joey Hess 2011-10-31 15:18:41 -04:00
parent 09861cf4f7
commit 3d3e1c4c25
6 changed files with 16 additions and 18 deletions

View file

@ -4,6 +4,5 @@
subject="comment 4"
date="2011-05-14T16:29:35Z"
content="""
Although, if you really do want to shoot yourself in the foot, or know you
have the old content, you can use `git-annex setcontent`.
Now available as `git-annex reinject`.
"""]]

View file

@ -274,19 +274,18 @@ subdirectories).
However, if a backend changes the information it uses to construct a key,
this can also be used to migrate files to use the new key format.
* setcontent src dest
* reinject src dest
Makes the dest file, which must already be tracked by git-annex have the
content of the src file. The src file is removed. This can be useful if you
have obtained the content of a file from elsewhere and want to put it in
the local annex.
Moves the src file into the annex as the content of the dest file.
This can be useful if you have obtained the content of a file from
elsewhere and want to put it in the local annex.
Automatically runs fsck on dest to check that the expected content was
provided.
Example:
git annex setcontent /tmp/foo.iso foo.iso
git annex reinject /tmp/foo.iso foo.iso
* unannex [path ...]