The git-core package in Jaunty (as of 1:1.6.0-1) no longer provides
git-foo commands in the default $PATH. Quoting
/usr/share/doc/git-core/NEWS.Debian.gz:
git-core (1:1.6.0-1) experimental; urgency=low
Most of the programs are now installed outside the default $PATH,
except for "git", "gitk" and some server side programs that need
to be accessible for technical reasons. Invoking a git subcommand
as "git-xyzzy" from the command line has been deprecated since
early 2006 (and officially announced in the 1.5.4 release notes);
using the "git-xyzzy" form in scripts after adding the output from
"git --exec-path" to the $PATH is still supported in this release,
but users are again strongly encouraged to adjust their scripts to
use the "git xyzzy" form, as this support might be dropped in later
releases.
-- Gerrit Pape <pape@smarden.org> Sun, 24 Aug 2008 22:31:44 +0000
This modifies a few stray scripts that still used the old git-foo form.
-open(TAGS, "git-tag -l |") or die "Could not get list of tags";
+open(TAGS, "git tag -l |") or die "Could not get list of tags";
@tags = <TAGS>;
close(TAGS);
-open(LOGS, "git-log --pretty=short |") or die "ERROR: Calling git-log";
+open(LOGS, "git log --pretty=short |") or die "ERROR: Calling git log";
my $commit = "";
while (<LOGS>) {
@@ -23,12 +23,12 @@ while (<LOGS>) {
if (!defined($origtag)) {
print "I: Adding original tag for $tag
";
- system("git-tag -m $tag $tag.orig $tag");
+ system("git tag -m $tag $tag.orig $tag");
}