about summary refs log tree commit diff
path: root/configs
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2018-07-09T17·56-0400
committerWilliam Carroll <wpcarro@gmail.com>2018-07-19T16·00-0400
commit8e9aa65760f16ea037cff383b56059e04d622bf8 (patch)
treec03bd0dd7a024de9d683b14b9af91272f1d5864b /configs
parent71830b92d4e4e32e48cc593ddfa434208b6a6b6a (diff)
Support changed-files
Not sure how this was removed, but supporting it again.
Diffstat (limited to 'configs')
-rw-r--r--configs/shared/.gitconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/configs/shared/.gitconfig b/configs/shared/.gitconfig
index 35082ffcb8f6..dbccffc79a05 100644
--- a/configs/shared/.gitconfig
+++ b/configs/shared/.gitconfig
@@ -4,7 +4,7 @@
 [alias]
 	recent = for-each-ref --count=10 --sort=-committerdate refs/heads/ --format=\"%(refname:short)\"
 	today = ! git log --date=relative --since=00:00:00 --all --no-merges --oneline --author=\"$(git config --get user.email)\"
-	changed-files = 
+	changed-files = ! git diff --name-only $(current_branch) $(git merge-base $(current_branch) master)
 	conflicts = diff --name-only --diff-filter=U
 	yday = ! git log --name-only --since=yesterday.midnight --until=today.midnight --author=\"$(git config --get user.email)\"
 	patch-grep = log -p -S