From d9f8658dfa3293c9088b1f0e60e21ddf5df61bfe Mon Sep 17 00:00:00 2001 From: Kutsan Kaplan Date: Mon, 16 Sep 2024 11:52:54 +0300 Subject: [PATCH] fix(git): use correct date index for standup command --- .config/git/aliases.gitconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/git/aliases.gitconfig b/.config/git/aliases.gitconfig index bcaa7057..8ddd2ea5 100644 --- a/.config/git/aliases.gitconfig +++ b/.config/git/aliases.gitconfig @@ -20,6 +20,6 @@ git l \ --no-merges \ --author=\"$(git config user.email)\" \ - --since=\"$( [[ $(date +%u) == 7 ]] && echo 'last.friday.midnight' || echo 'yesterday.midnight' )\"; \ + --since=\"$( [[ $(date +%u) == 1 ]] && echo 'last.friday.midnight' || echo 'yesterday.midnight' )\"; \ }; f" fixup = "!git log -n 50 --pretty=format:'%h %s' --no-merges | fzf | cut -c -7 | xargs -o git commit --fixup"