"Fossies" - the Fresh Open Source Software Archive

Member "git-2.23.0.windows.1/contrib/git-shell-commands/help" (16 Aug 2019, 283 Bytes) of package /windows/misc/git-2.23.0.windows.1.zip:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Bash source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 #!/bin/sh
    2 
    3 if tty -s
    4 then
    5     echo "Run 'help' for help, or 'exit' to leave.  Available commands:"
    6 else
    7     echo "Run 'help' for help.  Available commands:"
    8 fi
    9 
   10 cd "$(dirname "$0")"
   11 
   12 for cmd in *
   13 do
   14     case "$cmd" in
   15     help) ;;
   16     *) [ -f "$cmd" ] && [ -x "$cmd" ] && echo "$cmd" ;;
   17     esac
   18 done