Makefile's clean target should be .PHONY as well
[guilt.git] / guilt-init
blob1277998825f85fc6e2cae80cc7e7a197dc807e50
1 #!/bin/bash
3 # Copyright (c) Josef "Jeff" Sipek, 2006, 2007
6 DO_NOT_CHECK_BRANCH_EXISTENCE=1
8 . guilt
10 if [ $# -ne 0 ]; then
11 usage
14 if [ -d "$GUILT_DIR/$branch" ]; then
15 die "Branch $branch appears to be already initialized (GIT_DIR=$GIT_DIR)"
18 [ ! -d "$GUILT_DIR" ] && mkdir $GUILT_DIR
19 mkdir $GUILT_DIR/$branch
20 touch $GUILT_DIR/$branch/series
21 touch $GUILT_DIR/$branch/status