aboutsummaryrefslogtreecommitdiff
path: root/with/with-git
diff options
context:
space:
mode:
Diffstat (limited to 'with/with-git')
-rwxr-xr-xwith/with-git5
1 files changed, 5 insertions, 0 deletions
diff --git a/with/with-git b/with/with-git
new file mode 100755
index 0000000..8952a82
--- /dev/null
+++ b/with/with-git
@@ -0,0 +1,5 @@
+#!/bin/sh
+[ x"$1" = x"-s" ] && { s=$1; shift; } || s=
+"$@"
+[ -z "$s" ] || git status
+exec repl "${GIT:-git}"