FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu Kernel Team

LinkBack Thread Tools
Old 01-05-2009, 03:16 PM
Colin Watson
Default UBUNTU: Use 'git foo' rather than 'git-foo'

The git-core package in Jaunty (as of 1:1.6.0-1) no longer provides
git-foo commands in the default $PATH. Quoting

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

-- 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.

Signed-off-by: Colin Watson <cjwatson@canonical.com>
debian/rules.d/1-maintainer.mk | 4 ++--
debian/scripts/misc/retag | 8 ++++----
2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/debian/rules.d/1-maintainer.mk b/debian/rules.d/1-maintainer.mk
index 49bdfc4..0c1bf38 100644
--- a/debian/rules.d/1-maintainer.mk
+++ b/debian/rules.d/1-maintainer.mk
@@ -67,14 +67,14 @@ endif

- @git-log Ubuntu-$(release)-$(prev_revision)..HEAD |
+ @git log Ubuntu-$(release)-$(prev_revision)..HEAD |
perl -w -f debian/scripts/misc/git-ubuntu-log $(ubuntu_log_opts)

@perl -w -f debian/scripts/misc/insert-changes.pl

- @git-diff-tree -p refs/remotes/linux-2.6/master..HEAD $(shell ls | grep -vE '^(ubuntu|debian|.git.*)')
+ @git diff-tree -p refs/remotes/linux-2.6/master..HEAD $(shell ls | grep -vE '^(ubuntu|debian|.git.*)')

diff --git a/debian/scripts/misc/retag b/debian/scripts/misc/retag
index 16054d8..94cf169 100755
--- a/debian/scripts/misc/retag
+++ b/debian/scripts/misc/retag
@@ -1,10 +1,10 @@
#!/usr/bin/perl -w

-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>;

-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");

print "I: Tagging $tag => $commit

- system("git-tag -f -m $tag $tag $commit");
+ system("git tag -f -m $tag $tag $commit");


kernel-team mailing list

Thread Tools

All times are GMT. The time now is 12:04 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org