diff options
author | Joey Hess <joeyh@joeyh.name> | 2015-05-22 22:41:36 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2015-05-22 22:41:36 -0400 |
commit | 280b59024768689feed03db4e7069e12f9605825 (patch) | |
tree | 2350b2747d669d44ebaafdb2b7fefe5b550b558b /doc/git-annex-registerurl.mdwn | |
parent | 0c2026f3d4109e810b050090b44bb406b6a11954 (diff) |
fromkey, registerurl: Allow urls to be specified instead of keys, and generate URL keys.
This is especially useful because the caller doesn't need to generate valid
url keys, which involves some escaping of characters, and may involve
taking a md5sum of the url if it's too long.
Diffstat (limited to 'doc/git-annex-registerurl.mdwn')
-rw-r--r-- | doc/git-annex-registerurl.mdwn | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/git-annex-registerurl.mdwn b/doc/git-annex-registerurl.mdwn index 961fcbba2..05328abbb 100644 --- a/doc/git-annex-registerurl.mdwn +++ b/doc/git-annex-registerurl.mdwn @@ -17,6 +17,10 @@ If the key and url are not specified on the command line, they are instead read from stdin. Any number of lines can be provided in this mode, each containing a key and url, separated by a single space. +Normally the key is a git-annex formatted key. However, to make it easier +to use this to add urls, if the key cannot be parsed as a key, and is a +valid url, an URL key is constructed from the url. + # SEE ALSO [[git-annex]](1) |