Page MenuHomeFreeBSD

D43459.id132786.diff
No OneTemporary

D43459.id132786.diff

diff --git a/tools/tools/git/git-arc.sh b/tools/tools/git/git-arc.sh
--- a/tools/tools/git/git-arc.sh
+++ b/tools/tools/git/git-arc.sh
@@ -159,12 +159,12 @@
}
#
-# Filter the output of arc list to remove the warnings as above, as well as any
-# stray escape sequences that are in the list (it interferes with the parsing)
+# Filter the output of arc list to remove the warnings as above, as well as
+# the bolding sequence (the color sequence remains intact).
#
arc_list()
{
- arc list "$@" | sed 's/\x1b\[[0-9;]*m//g' | grep -v '^Warning: '
+ arc list "$@" | grep -v '^Warning: ' | sed -E 's/\x1b\[1m//g;s/\x1b\[m//g'
}
diff2phid()
@@ -430,7 +430,7 @@
local chash commit commits diff openrevs title
commits=$(build_commit_list "$@")
- openrevs=$(arc_list)
+ openrevs=$(arc_list --ansi)
for commit in $commits; do
chash=$(git show -s --format='%C(auto)%h' "$commit")

File Metadata

Mime Type
text/plain
Expires
Sun, Mar 8, 9:51 PM (18 h, 27 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29419570
Default Alt Text
D43459.id132786.diff (919 B)

Event Timeline