From f26c6cf48e6c9e89909b4abb1dcf81cc2f39a86b Mon Sep 17 00:00:00 2001 From: John Ankarstrom Date: Fri, 2 Jul 2021 22:09:54 +0200 Subject: with-git: Add -s option --- with-git | 2 ++ 1 file changed, 2 insertions(+) (limited to 'with-git') diff --git a/with-git b/with-git index f313908..8952a82 100755 --- a/with-git +++ b/with-git @@ -1,3 +1,5 @@ #!/bin/sh +[ x"$1" = x"-s" ] && { s=$1; shift; } || s= "$@" +[ -z "$s" ] || git status exec repl "${GIT:-git}" -- cgit v1.2.3