summaryrefslogtreecommitdiff
path: root/bashrc
diff options
context:
space:
mode:
authorDan Goodliffe <dan.goodliffe@octal.co.uk>2021-08-27 11:29:06 +0100
committerDan Goodliffe <dan.goodliffe@octal.co.uk>2021-08-27 11:29:06 +0100
commitfa4b34c8946ca0120765ea1628cf48d294857278 (patch)
tree76b1845aa331d28d2dc781c96c4bfbbc460c6819 /bashrc
parentBetter git diff options (diff)
downloadutil-fa4b34c8946ca0120765ea1628cf48d294857278.tar.bz2
util-fa4b34c8946ca0120765ea1628cf48d294857278.tar.xz
util-fa4b34c8946ca0120765ea1628cf48d294857278.zip
Simplify gitdc
Diffstat (limited to 'bashrc')
-rw-r--r--bashrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/bashrc b/bashrc
index ebfa166..58998b5 100644
--- a/bashrc
+++ b/bashrc
@@ -164,7 +164,7 @@ gitd() {
diffWith "git diff --no-prefix --relative -w -D -M --patience $@"
}
gitdc() {
- diffWith "git diff --cached --no-prefix --relative -b -M $@"
+ gitd "--cached $@"
}
gppdmb() {
PARENT=${1:-master}