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.
This commit is contained in:
William Carroll 2019-12-23 10:00:37 +00:00
parent 7bb4201905
commit 852783827c

View file

@ -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]