aboutsummaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorTimo Juhani Lindfors <timo.lindfors@iki.fi>2009-03-03 07:10:19 +0000
committerAndy Green <agreen@octopus.localdomain>2009-03-03 07:10:19 +0000
commitb5bc32163ca2aefce4cfb4450579168fd7f588cd (patch)
treed35c4cd9cd08ed15601cc11ae1063e695c5235a4 /build
parentcc1663fc922c03feb0d7bbb8b18d62fbac0128de (diff)
kernel.git/build: use "git branch" instead of "git-branch"?
Hi, git 1.6.0 in debian unstable does not put "git-branch" to a directory that is in PATH anymore > git-core (1:1.6.0.2-1) experimental; urgency=low > > * new upstream point release. > * debian/git-core.NEWS.Debian: new; mention that most of the programs > now are installed outside the default $PATH; the "git-xyzzy" form > in scripts and on the command line is no longer supported in 1.6.0. so the build script should probably be modified:
Diffstat (limited to 'build')
-rwxr-xr-xbuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/build b/build
index fd989996433..a7d15f71e54 100755
--- a/build
+++ b/build
@@ -69,7 +69,7 @@ fi
# check that we are in a valid branch
#
-if git-branch | head -n1 | grep -q "* (no branch)"; then
+if git branch | head -n1 | grep -q "* (no branch)"; then
cat <<EOF 1>&2
There is no branch in the local copy of the repository right now!
Hint: type git-branch, make sure you are in a valid branch and then try again