From cb846a734a12ad77a5d4e9752f07e7936b53bbc3 Mon Sep 17 00:00:00 2001 From: Tony Duckles Date: Fri, 4 Jan 2013 00:58:12 -0600 Subject: [PATCH] bin/git-cv: Be compatible with GNU "cut" --- bin/git-cv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/git-cv b/bin/git-cv index 71560aa..c337867 100755 --- a/bin/git-cv +++ b/bin/git-cv @@ -15,6 +15,6 @@ REM=$(git config --get-color 'color.diff.old') RESET=$(git config --get-color '' 'reset') git cherry -v "$@" | -cut -c1-9 -c43- | +cut -c1-9,43- | sed -e "s/^\(.\) \(.......\)/\1 $SHA\2$RESET/" | sed -e "s/^-/$REM-$RESET/" -e "s/^+/$ADD+$RESET/" -- 2.47.1