diff options
author | Junio C Hamano <gitster@pobox.com> | 2008-01-18 07:52:40 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-01-18 07:52:40 +0100 |
commit | 5c66d0d4580196094e80c552f141525759a8e249 (patch) | |
tree | 4e5015744ad17f3e5b99f654aeebfac11769b6ce /contrib | |
parent | Fix random fast-import errors when compiled with NO_MMAP (diff) | |
download | git-5c66d0d4580196094e80c552f141525759a8e249.tar.xz git-5c66d0d4580196094e80c552f141525759a8e249.zip |
Officially deprecate repo-config.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib')
-rwxr-xr-x | contrib/completion/git-completion.bash | 2 | ||||
-rwxr-xr-x | contrib/examples/git-tag.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash index 343364de04..9b0033d17c 100755 --- a/contrib/completion/git-completion.bash +++ b/contrib/completion/git-completion.bash @@ -333,7 +333,7 @@ __git_commands () read-tree) : plumbing;; receive-pack) : plumbing;; reflog) : plumbing;; - repo-config) : plumbing;; + repo-config) : deprecated;; rerere) : plumbing;; rev-list) : plumbing;; rev-parse) : plumbing;; diff --git a/contrib/examples/git-tag.sh b/contrib/examples/git-tag.sh index ae7c531666..e9f3a228af 100755 --- a/contrib/examples/git-tag.sh +++ b/contrib/examples/git-tag.sh @@ -167,7 +167,7 @@ type=$(git cat-file -t $object) || exit 1 tagger=$(git-var GIT_COMMITTER_IDENT) || exit 1 test -n "$username" || - username=$(git repo-config user.signingkey) || + username=$(git config user.signingkey) || username=$(expr "z$tagger" : 'z\(.*>\)') trap 'rm -f "$GIT_DIR"/TAG_TMP* "$GIT_DIR"/TAG_FINALMSG "$GIT_DIR"/TAG_EDITMSG' 0 |