Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F147048838
D43459.id132786.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
919 B
Referenced Files
None
Subscribers
None
D43459.id132786.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D43459: git-arc: Retain color status messages
Attached
Detach File
Event Timeline
Log In to Comment