summaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>2005-11-17 21:44:55 (GMT)
committerJunio C Hamano <junkio@cox.net>2005-11-20 04:47:29 (GMT)
commit1b1e59c5084ac8b0af0aa443bb1713179d400211 (patch)
tree478bb4e57cd4eb5a898476373e44681a04b66bc8 /.gitignore
parent10bea152a34b2bf1194ede5e0c9e5595ab2100f3 (diff)
downloadgit-1b1e59c5084ac8b0af0aa443bb1713179d400211.zip
git-1b1e59c5084ac8b0af0aa443bb1713179d400211.tar.gz
git-1b1e59c5084ac8b0af0aa443bb1713179d400211.tar.bz2
Add git-config-set, a simple helper for scripts to set config variables
This is meant for the end user, who cannot be expected to edit .git/config by hand. Example: git-config-set core.filemode true will set filemode in the section [core] to true, git-config-set --unset core.filemode will remove the entry (failing if it is not there), and git-config-set --unset diff.twohead ^recar will remove the unique entry whose value matches the regex "^recar" (failing if there is no unique such entry). It is just a light wrapper around git_config_set() and git_config_set_multivar(). Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to '.gitignore')
-rw-r--r--.gitignore1
1 files changed, 1 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 0dd7b9c..d17a8b5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -17,6 +17,7 @@ git-clone
git-clone-pack
git-commit
git-commit-tree
+git-config-set
git-convert-objects
git-count-objects
git-cvsexportcommit