threads / discuss / 115

trivial fix to gitstatus.sh

Subject: trivial fix to gitstatus.sh

## tl;dr

One message between Apr 18, 2005 and Apr 18, 2005.

replies: 0people: 1as markdown or json

Sebastian Kuzminsky· Apr 18, 2005, 22:37 UTC · lore
This is against git-pasky-0.5, just a little typo.  

gitstatus.sh: d5d0f82aca3f668655469cefb08a4d06049f2580 --- gitstatus.sh +++ gitstatus.sh 2005-04-18 16:31:26.000000000 -0600

@@ -12,7 +12,7 @@
 } | sort -z -k 2 | xargs -0 sh -c '
 while [ "$1" ]; do
        tag=${1% *};
-       filename=${1r* };
+       filename=${1#* };
        case "$filename" in
        *.[ao] | tags | ,,merge*) ;;
        *)   echo "$tag $filename";;




--
Sebastian

← back to recent threads