about summary refs log tree commit diff
path: root/configs/shared
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2019-12-23T10·00+0000
committerWilliam Carroll <wpcarro@gmail.com>2020-01-06T15·25+0000
commit852783827cac75136c57f14fd24c5ca62642a4c9 (patch)
tree520041c2bca63e6ee37bec182683097b98c6a589 /configs/shared
parent7bb420190563d2cb476f86423e851c7d3cd3677e (diff)
Ensure git yday alias formats commits like git today
Prefer the --oneline flag for `git yday` so that it is formatted like the
`git today` command.
Diffstat (limited to 'configs/shared')
-rw-r--r--configs/shared/.gitconfig4
1 files changed, 2 insertions, 2 deletions
diff --git a/configs/shared/.gitconfig b/configs/shared/.gitconfig
index f35279a77a08..4aa8e82d7dc9 100644
--- a/configs/shared/.gitconfig
+++ b/configs/shared/.gitconfig
@@ -6,7 +6,7 @@
 	today = ! git log --date=relative --since=00:00:00 --all --no-merges --oneline --author=\"$(git config --get user.email)\"
 	changed-files = ! git --no-pager diff --name-only $(current_branch) $(git merge-base $(current_branch) master)
 	conflicts = ! git --no-pager diff --name-only --diff-filter=U
-	yday = ! git log --name-only --since=yesterday.midnight --until=today.midnight --author=\"$(git config --get user.email)\"
+	yday = ! git log --since=yesterday.midnight --until=today.midnight --oneline --author=\"$(git config --get user.email)\"
 	patch-grep = log -p -S
 	unstage = reset HEAD --
 	appraise = ! $HOME/go/bin/git-appraise
@@ -16,7 +16,7 @@
 	autosquash = true
 	autostash = true
 [remote "origin"]
-  fetch = +refs/pull/*/head:refs/remotes/origin/pr/*
+	fetch = +refs/pull/*/head:refs/remotes/origin/pr/*
 [github]
 	user = wpcarro
 [core]