diff options
-rw-r--r-- | Command/Unused.hs | 1 | ||||
-rw-r--r-- | Remote.hs | 1 | ||||
-rw-r--r-- | debian/changelog | 7 | ||||
-rw-r--r-- | doc/git-annex.mdwn | 8 |
4 files changed, 13 insertions, 4 deletions
diff --git a/Command/Unused.hs b/Command/Unused.hs index 58a99882e..bbef835f7 100644 --- a/Command/Unused.hs +++ b/Command/Unused.hs @@ -48,6 +48,7 @@ start = do let (name, action) = case from of Nothing -> (".", checkUnused) Just "." -> (".", checkUnused) + Just "here" -> (".", checkUnused) Just n -> (n, checkRemoteUnused n) showStart "unused" name next action @@ -90,6 +90,7 @@ byName' n = do - .git/config. -} nameToUUID :: String -> Annex UUID nameToUUID "." = getUUID -- special case for current repo +nameToUUID "here" = getUUID nameToUUID "" = error "no remote specified" nameToUUID n = byName' n >>= go where diff --git a/debian/changelog b/debian/changelog index 0c07cb6ff..47713e226 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +git-annex (3.20120230) UNRELEASED; urgency=low + + * "here" can be used to refer to the current repository, + which can read better than the old "." (which still works too). + + -- Joey Hess <joeyh@debian.org> Thu, 01 Mar 2012 22:34:27 -0400 + git-annex (3.20120229) unstable; urgency=low * Fix test suite to not require a unicode locale. diff --git a/doc/git-annex.mdwn b/doc/git-annex.mdwn index 0928c36f6..85d972259 100644 --- a/doc/git-annex.mdwn +++ b/doc/git-annex.mdwn @@ -177,7 +177,7 @@ subdirectories). The repository to describe can be specified by git remote name or by uuid. To change the description of the current repository, use - "." + "here". * initremote name [param=value ...] @@ -196,7 +196,7 @@ subdirectories). Records that a repository is trusted to not unexpectedly lose content. Use with care. - To trust the current repository, use "." + To trust the current repository, use "here". * untrust [repository ...] @@ -273,7 +273,7 @@ subdirectories). By default, only lists annexed files whose content is currently present. This can be changed by specifying file matching options. To list all annexed files, present or not, specify --include "*". To list all - annexed files whose content is not present, specify --not --in="." + annexed files whose content is not present, specify --not --in=here To output filenames terminated with nulls, for use with xargs -0, specify --print0. Or, a custom output formatting can be specified using @@ -527,7 +527,7 @@ file contents are present at either of two repositories. The repository should be specified using the name of a configured remote, or the UUID or description of a repository. For the current repository, - use "--in=." + use --in=here * --copies=number |