diff options
Diffstat (limited to 'meta/recipes-devtools/guilt/files/guilt-init.patch')
-rw-r--r-- | meta/recipes-devtools/guilt/files/guilt-init.patch | 23 |
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 00000000000..a06da5bf744 --- /dev/null +++ b/meta/recipes-devtools/guilt/files/guilt-init.patch @@ -0,0 +1,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" |