Ignore empty/commented series lines
[gq.git] / gq-init
blob4bef3e500e5b5e65c06425bf4c9d14175ce8829b
1 #!/bin/bash
3 # Copyright (c) Josef "Jeff" Sipek, 2006
6 DO_NOT_CHECK_BRANCH_EXISTENCE=1
8 source "`dirname $0`/gq.lib"
10 if [ -d "$GQ_DIR/$branch" ]; then
11 echo "Branch $branch appears to be already initialized (GIT_DIR=$GIT_DIR)"
12 exit 1
15 [ ! -d "$GQ_DIR" ] && mkdir $GQ_DIR
16 mkdir $GQ_DIR/$branch
17 touch $GQ_DIR/$branch/series
18 touch $GQ_DIR/$branch/status