From 0c46cbab09af8cc8761668885e58944d397b856d Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 14 Jul 2011 16:44:23 -0400 Subject: 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. --- doc/git-annex.mdwn | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'doc/git-annex.mdwn') 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`. -- cgit v1.2.3