Added a list of required software
[guilt.git] / gq-init
blob0506d9e93965ff011e3d1870d018656da3ee55e4
1 #!/bin/bash
3 source "`dirname $0`/gq.lib"
5 export GIT_DIR=`find_git_dir`
6 GQ_DIR="$GIT_DIR/patches"
8 branch=`get_branch`
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