Dan McGee <dpmcgee@xxxxxxxxx> writes: > 'git config' has been used in place of 'git repo-config' for some time in > the documentation and most of the tools, so remove traces of repo-config > from the source. > > Signed-off-by: Dan McGee <dpmcgee@xxxxxxxxx> I'd agree with the deprecation. We stopped advertising it long time ago (1.5.0 I think). > diff --git a/Documentation/git-repo-config.txt b/Documentation/git-repo-config.txt Let's defer the removal til post 1.5.4. > diff --git a/Makefile b/Makefile Likewise. > diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash Likewise. > diff --git a/contrib/examples/git-tag.sh b/contrib/examples/git-tag.sh > index ae7c531..a3182df 100755 > --- a/contrib/examples/git-tag.sh > +++ b/contrib/examples/git-tag.sh > @@ -167,6 +167,7 @@ type=$(git cat-file -t $object) || exit 1 > tagger=$(git-var GIT_COMMITTER_IDENT) || exit 1 > > test -n "$username" || > + #NOTE: 'git repo-config' has since been replaced by 'git config' > username=$(git repo-config user.signingkey) || > username=$(expr "z$tagger" : 'z\(.*>\)') Good. > diff --git a/git.c b/git.c Deferred. > diff --git a/t/t0020-crlf.sh b/t/t0020-crlf.sh > diff --git a/t/t9200-git-cvsexportcommit.sh b/t/t9200-git-cvsexportcommit.sh Doing s/repo-config/config/ in test scripts is good. > diff --git a/templates/hooks--update b/templates/hooks--update > index bd93dd1..09a99ff 100644 > --- a/templates/hooks--update > +++ b/templates/hooks--update > @@ -37,9 +37,9 @@ if [ -z "$refname" -o -z "$oldrev" -o -z "$newrev" ]; then > fi > > # --- Config > -allowunannotated=$(git-repo-config --bool hooks.allowunannotated) > -allowdeletebranch=$(git-repo-config --bool hooks.allowdeletebranch) > -allowdeletetag=$(git-repo-config --bool hooks.allowdeletetag) > +allowunannotated=$(git config --bool hooks.allowunannotated) > +allowdeletebranch=$(git config --bool hooks.allowdeletebranch) > +allowdeletetag=$(git config --bool hooks.allowdeletetag) > > # check for no description > projectdesc=$(sed -e '1q' "$GIT_DIR/description") Good. > @@ -53,7 +53,7 @@ fi > if [ "$newrev" = "0000000000000000000000000000000000000000" ]; then > newrev_type=delete > else > - newrev_type=$(git-cat-file -t $newrev) > + newrev_type=$(git cat-file -t $newrev) > fi > > case "$refname","$newrev_type" in Good but does not belong to the topic. - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html