summaryrefslogtreecommitdiff
path: root/contrib/examples/git-whatchanged.sh
diff options
context:
space:
mode:
authorJohn Keeping <john@keeping.me.uk>2013-11-10 15:47:28 (GMT)
committerJunio C Hamano <gitster@pobox.com>2013-11-12 22:10:17 (GMT)
commiteb8e7e1d9a946f439e0e35f2ada9efb434ea8b60 (patch)
tree2479a148f96b819e4ad425bc6bb4458bc491a943 /contrib/examples/git-whatchanged.sh
parent0ecd94d7d728606e0047a44e60a277ff4e7b3990 (diff)
downloadgit-eb8e7e1d9a946f439e0e35f2ada9efb434ea8b60.zip
git-eb8e7e1d9a946f439e0e35f2ada9efb434ea8b60.tar.gz
git-eb8e7e1d9a946f439e0e35f2ada9efb434ea8b60.tar.bz2
repo-config: remove deprecated alias for "git config"
The release notes for Git 1.5.4 say that "git repo-config" will be removed in the next feature release. Since Git 2.0 is nearly here, remove it. Signed-off-by: John Keeping <john@keeping.me.uk> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/examples/git-whatchanged.sh')
-rwxr-xr-xcontrib/examples/git-whatchanged.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/examples/git-whatchanged.sh b/contrib/examples/git-whatchanged.sh
index 1fb9feb..2edbdc6 100755
--- a/contrib/examples/git-whatchanged.sh
+++ b/contrib/examples/git-whatchanged.sh
@@ -9,12 +9,12 @@ case "$0" in
*whatchanged)
count=
test -z "$diff_tree_flags" &&
- diff_tree_flags=$(git-repo-config --get whatchanged.difftree)
+ diff_tree_flags=$(git config --get whatchanged.difftree)
diff_tree_default_flags='-c -M --abbrev' ;;
*show)
count=-n1
test -z "$diff_tree_flags" &&
- diff_tree_flags=$(git-repo-config --get show.difftree)
+ diff_tree_flags=$(git config --get show.difftree)
diff_tree_default_flags='--cc --always' ;;
esac
test -z "$diff_tree_flags" &&