index
:
xutil
master
extra UNIX utilities
Git
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
Diffstat
-rwxr-xr-x
with-git
2
1 files changed, 2 insertions, 0 deletions
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}"