Added usage strings to all commands
[guilt.git] / guilt-init
blob3288faf83646f616243d1a8e393deeef76860faf
1 #!/bin/bash
3 # Copyright (c) Josef "Jeff" Sipek, 2006, 2007
6 DO_NOT_CHECK_BRANCH_EXISTENCE=1
8 source "`dirname $0`/guilt"
10 USAGE=""
12 if [ -d "$GUILT_DIR/$branch" ]; then
13 echo "Branch $branch appears to be already initialized (GIT_DIR=$GIT_DIR)"
14 exit 1
17 [ ! -d "$GUILT_DIR" ] && mkdir $GUILT_DIR
18 mkdir $GUILT_DIR/$branch
19 touch $GUILT_DIR/$branch/series
20 touch $GUILT_DIR/$branch/status