Call git tools using "git cmd" instead of "git-cmd" syntax

Recent git doesn't install the git-* commands in path.
This commit is contained in:
Behdad Esfahbod 2009-03-12 13:48:07 -04:00
parent de69ee14d3
commit b9b01b6ed0
2 changed files with 6 additions and 6 deletions

View File

@ -69,7 +69,7 @@ EXTRA_DIST += ChangeLog
ChangeLog: ChangeLog:
if test -d "$(srcdir)/.git"; then \ if test -d "$(srcdir)/.git"; then \
(GIT_DIR=$(top_srcdir)/.git ./missing --run git-log --stat) | fmt --split-only > $@.tmp \ (GIT_DIR=$(top_srcdir)/.git ./missing --run git log --stat) | fmt --split-only > $@.tmp \
&& mv -f $@.tmp $@ \ && mv -f $@.tmp $@ \
|| ($(RM) $@.tmp; \ || ($(RM) $@.tmp; \
echo Failed to generate ChangeLog, your ChangeLog may be outdated >&2; \ echo Failed to generate ChangeLog, your ChangeLog may be outdated >&2; \

View File

@ -1,6 +1,6 @@
#!/bin/sh #!/bin/sh
if git-status -a > /dev/null; then if git status -a > /dev/null; then
echo 'Uncommited changes in repository' 1>&2 echo 'Uncommited changes in repository' 1>&2
exit 1 exit 1
fi fi
@ -92,7 +92,7 @@ if [ $version != $last ]; then
echo $version_note echo $version_note
echo echo
git-log --pretty=short $last.. | git-shortlog | cat git log --pretty=short $last.. | git shortlog | cat
# #
# previous changelogs # previous changelogs
@ -104,15 +104,15 @@ if [ $version != $last ]; then
mv README.tmp README mv README.tmp README
fi fi
$test git-commit -m"Bump version to $version" \ $test git commit -m"Bump version to $version" \
configure.in \ configure.in \
fontconfig/fontconfig.h \ fontconfig/fontconfig.h \
README README
# tag the tree # tag the tree
$test git-tag -u 096c4dd3 -m "Version $version" $version $test git tag -u 096c4dd3 -m "Version $version" $version
# Make distributed change log # Make distributed change log
git-log --stat $last.. > ChangeLog-$version git log --stat $last.. > ChangeLog-$version