summaryrefslogtreecommitdiffstats
path: root/meta/packages/guilt/files/guilt-init.patch
blob: a06da5bf744cf33f0b37ee9c0d1612483f5eb0d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
guilt: allow previously initialized branches to be re-initialized

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>

---
 guilt-init |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

--- a/guilt-init
+++ b/guilt-init
@@ -20,9 +20,9 @@ while case $# in 0) break ;; esac; do
 	shift
 done
 
-if [ -d "$GUILT_DIR/$branch" ]; then
-	die "Branch $branch appears to be already initialized (GIT_DIR=$GIT_DIR)"
-fi
+# if [ -d "$GUILT_DIR/$branch" ]; then
+# 	die "Branch $branch appears to be already initialized (GIT_DIR=$GIT_DIR)"
+# fi
 
 [ ! -d "$GUILT_DIR" ] && mkdir "$GUILT_DIR"
 mkdir -p "$GUILT_DIR/$branch"