Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Allow overriding branches.sh by providing a branches-local script.

This lets users configure gitbuilder without needing to change any
files tracked by git.

Note that branches.sh still chdirs to the build directory, as a
convenience.
  • Loading branch information...
commit bf70974a8e70b544b771b30b0849e12a398887ff 1 parent 51d62f1
Tommi Virtanen authored
Showing with 5 additions and 0 deletions.
  1. +1 −0  .gitignore
  2. +4 −0 branches.sh
View
1  .gitignore
@@ -9,3 +9,4 @@
/out/describe
/build
*.lock
+/branches-local
View
4 branches.sh
@@ -2,6 +2,10 @@
DIR=$(dirname $0)
cd "$DIR/build"
+if [ -x ../branches-local ]; then
+ exec ../branches-local "$@"
+fi
+
if [ "$1" = "-v" ]; then
VERBOSE=1
else

0 comments on commit bf70974

Please sign in to comment.
Something went wrong with that request. Please try again.