]> git.pld-linux.org Git - packages/rpm-build-tools.git/commitdiff
Git can show available branches also offline
authorKacper Kornet <draenog@pld-linux.org>
Fri, 1 Apr 2011 13:06:18 +0000 (14:06 +0100)
committerKacper Kornet <draenog@pld-linux.org>
Fri, 1 Apr 2011 13:19:01 +0000 (14:19 +0100)
builder.sh

index 9d13b9a620626bd7c7597f25b607a7edf1032f13..6be7dbd66ed349dd802a0555ec83b93be7c74382 100755 (executable)
@@ -1663,10 +1663,8 @@ display_bconds() {
 }
 
 display_branches() {
-       if [ "$NOCVSSPEC" != "yes" ]; then
-               echo -n "Available branches: "
-               git branch -r | grep '^  origin' | grep -v origin/HEAD | sed 's#^ *origin/##' | xargs
-       fi
+       echo -n "Available branches: "
+       git branch -r | grep '^  origin' | grep -v origin/HEAD | sed 's#^ *origin/##' | xargs
 }
 
 # checks a given list of packages/files/provides agains current rpmdb.
This page took 0.039001 seconds and 4 git commands to generate.