summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/guilt/files/guilt-init.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/guilt/files/guilt-init.patch')
-rw-r--r--meta/recipes-devtools/guilt/files/guilt-init.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/meta/recipes-devtools/guilt/files/guilt-init.patch b/meta/recipes-devtools/guilt/files/guilt-init.patch
new file mode 100644
index 0000000000..a06da5bf74
--- /dev/null
+++ b/meta/recipes-devtools/guilt/files/guilt-init.patch
@@ -0,0 +1,23 @@
1guilt: allow previously initialized branches to be re-initialized
2
3Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
4
5---
6 guilt-init | 6 +++---
7 1 file changed, 3 insertions(+), 3 deletions(-)
8
9--- a/guilt-init
10+++ b/guilt-init
11@@ -20,9 +20,9 @@ while case $# in 0) break ;; esac; do
12 shift
13 done
14
15-if [ -d "$GUILT_DIR/$branch" ]; then
16- die "Branch $branch appears to be already initialized (GIT_DIR=$GIT_DIR)"
17-fi
18+# if [ -d "$GUILT_DIR/$branch" ]; then
19+# die "Branch $branch appears to be already initialized (GIT_DIR=$GIT_DIR)"
20+# fi
21
22 [ ! -d "$GUILT_DIR" ] && mkdir "$GUILT_DIR"
23 mkdir -p "$GUILT_DIR/$branch"