summaryrefslogtreecommitdiff
path: root/contrib/completion
diff options
context:
space:
mode:
authorJosh Triplett <josh@freedesktop.org>2007-04-24 00:18:16 (GMT)
committerJunio C Hamano <junkio@cox.net>2007-04-24 05:13:50 (GMT)
commit2122591b3b5c6d93d3052a3151afcfa3146ede84 (patch)
tree59d0c98999b5021f2e9816d01fdc0d4efbdd079c /contrib/completion
parentab69e89c7e95f309564c3967222bd39f0587a74c (diff)
downloadgit-2122591b3b5c6d93d3052a3151afcfa3146ede84.zip
git-2122591b3b5c6d93d3052a3151afcfa3146ede84.tar.gz
git-2122591b3b5c6d93d3052a3151afcfa3146ede84.tar.bz2
Add clean.requireForce option, and add -f option to git-clean to override it
Add a new configuration option clean.requireForce. If set, git-clean will refuse to run, unless forced with the new -f option, or not acting due to -n. Signed-off-by: Josh Triplett <josh@freedesktop.org> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'contrib/completion')
-rwxr-xr-xcontrib/completion/git-completion.bash1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash
index 7c03403..46356e8 100755
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -790,6 +790,7 @@ _git_config ()
core.legacyHeaders
core.packedGitWindowSize
core.packedGitLimit
+ clean.requireForce
color.branch
color.branch.current
color.branch.local