Skip to content

Commit

Permalink
guilt-graph: Handle commas in branch names.
Browse files Browse the repository at this point in the history
This fix relies on the fact that git branch names can not contain ":".

Signed-off-by: Per Cederqvist <[email protected]>
Signed-off-by: Josef 'Jeff' Sipek <[email protected]>
  • Loading branch information
Per Cederqvist committed Jan 22, 2015
1 parent ed9ac9d commit 3520b04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guilt-graph
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,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
}"`
Expand Down

0 comments on commit 3520b04

Please sign in to comment.