summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/guilt/files/guilt-push.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/guilt/files/guilt-push.patch')
-rw-r--r--meta/recipes-devtools/guilt/files/guilt-push.patch42
1 files changed, 0 insertions, 42 deletions
diff --git a/meta/recipes-devtools/guilt/files/guilt-push.patch b/meta/recipes-devtools/guilt/files/guilt-push.patch
deleted file mode 100644
index 5ec290b5d9..0000000000
--- a/meta/recipes-devtools/guilt/files/guilt-push.patch
+++ /dev/null
@@ -1,42 +0,0 @@
1guilt: add support for pushing and tagging
2
3It can be handy to push AND tag at the same time.
4
5Upstream-Status: Inappropriate [oe-specific]
6
7Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
8
9---
10
11 guilt-push | 16 +++++++++++++++-
12 1 file changed, 15 insertions(+), 1 deletion(-)
13
14--- a/guilt-push
15+++ b/guilt-push
16@@ -19,7 +19,11 @@ while [ $# -gt 0 ]; do
17 -n)
18 num=t
19 ;;
20- *)
21+ -t|--t)
22+ tag=$2
23+ shift
24+ ;;
25+ *)
26 break
27 ;;
28 esac
29@@ -126,3 +130,13 @@ do
30 fi
31 done
32
33+ret=$?
34+if [ $ret -ne 0 ]; then
35+ exit $ret
36+fi
37+
38+# if a tag was specified, tag the tree now.
39+if [ -n "$tag" ]; then
40+ git-rev-parse HEAD > "$GIT_DIR/refs/tags/$tag"
41+fi
42+