git/list[1] front-page[2] threads[3] people[4] search[5] about
 

trivial fix to gitstatus.sh

From
Sebastian Kuzminsky <seb@highlab.com>
Date
Apr 18, 2005, 22:37 UTC
Message-ID
<E1DNesN-0003g0-RY@sphincter>
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
Message 1 of 1 in “trivial fix to gitstatus.sh”
  1. Sebastian KuzminskyApr 18, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.