summaryrefslogtreecommitdiff
path: root/doc/git-annex.mdwn
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2011-07-14 16:44:23 -0400
committerGravatar Joey Hess <joey@kitenet.net>2011-07-14 16:51:20 -0400
commit0c46cbab09af8cc8761668885e58944d397b856d (patch)
treebf39b70a8f2936c23e9248c403a5398deaa5d3b9 /doc/git-annex.mdwn
parentdddbc09ff0199967602ad5d4112b2b4e04780177 (diff)
Support the standard git -c name=value
This allows eg, `git-annex -c annex.rsync-options=-6 get file` The overridden git configs are not passed on to git plumbing commands that are run. Perhaps someone will find a need to do that, but I don't yet and it would require storing more state to know what config settings have been overridden and need to be passed on.
Diffstat (limited to 'doc/git-annex.mdwn')
-rw-r--r--doc/git-annex.mdwn4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/git-annex.mdwn b/doc/git-annex.mdwn
index dfb23f5f2..11f617f1b 100644
--- a/doc/git-annex.mdwn
+++ b/doc/git-annex.mdwn
@@ -387,6 +387,10 @@ Many git-annex commands will stage changes for later `git commit` by you.
Specifies a key to operate on.
+* -c name=value
+
+ Used to override git configuration settings. May be specified multiple times.
+
# CONFIGURATION
Like other git commands, git-annex is configured via `.git/config`.