[kernel-team] 01/01: Fix typo in git status parsing

debian-kernel at lists.debian.org debian-kernel at lists.debian.org
Sat Jan 2 18:21:53 UTC 2016


This is an automated email from the git hooks/post-receive script.

benh pushed a commit to branch master
in repository kernel-team.

commit 96fb5c22be737456fc5002901a8772aa697a0c28
Author: Ben Hutchings <ben at decadent.org.uk>
Date:   Sat Jan 2 18:21:41 2016 +0000

    Fix typo in git status parsing
---
 scripts/d-k-tag | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/d-k-tag b/scripts/d-k-tag
index 4b3ddda..0ab325f 100755
--- a/scripts/d-k-tag
+++ b/scripts/d-k-tag
@@ -6,7 +6,7 @@ if ! git diff --quiet HEAD; then
    exit 1
 fi
 head="$(git status -b --porcelain)"
-head="${head#\#\#}"
+head="${head#\#\# }"
 if [ "$head" = "HEAD (no branch)" ]; then
    echo >&2 "E: HEAD is not a branch"
    exit 1

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/kernel/kernel-team.git



More information about the Kernel-svn-changes mailing list