Thread (61 messages) flat view 61 messages, 3 authors, 2016-06-15

[GUILT 18/28] guilt-graph: Handle commas in branch names.

From: Per Cederqvist <hidden>
Date: 2016-06-15 23:00:24
Subsystem: the rest · Maintainer: Linus Torvalds

This fix relies on the fact that git branch names can not contain ":".

Signed-off-by: Per Cederqvist <redacted>
---
 guilt-graph | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/guilt-graph b/guilt-graph
index 00301d5..575f03b 100755
--- a/guilt-graph
+++ b/guilt-graph
@@ -52,7 +52,7 @@ safebranch=`echo "$branch"|sed 's%/%\\\\/%g'`
 while [ "$current" != "$base" ]; do
 	pname=`git show-ref | sed -n -e "
 /^$current refs\/patches\/$safebranch/ {
-	s,^$current refs/patches/$branch/,,
+	s:^$current refs/patches/$branch/::
 	p
 	q
 }"`
-- 
1.8.3.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help