Skip to content

Commit 878ebac

Browse files
committed
;just:commitlog: fix site & finance repo listing
1 parent bd1638b commit 878ebac

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Justfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -881,23 +881,23 @@ chlog *CHANGELOG:
881881
awk '/^#+ /{p=1};/^#+ +[0-9]+\.[0-9].*([0-9]{4}-[0-9]{2}-[0-9]{2})/{exit};p' $CHANGELOG
882882
fi
883883

884-
GITLG := "git log --format='%ad %h %s' --date=short"
884+
GITSHORTFMT := "--format='%ad %h %s' --date=short"
885885

886886
# Show commits in the three repos since this date or days ago or last release, briefly.
887887
commitlog *DATEARG:
888888
#!/usr/bin/env osh
889889
DATE=`just _datearg $DATEARG`
890890
printf "** hledger commits\n\n"
891-
{{ GITLG }} --since $DATE
891+
git log {{ GITSHORTFMT }} --since $DATE
892892
echo
893893
printf "** hledger_site commits\n\n"
894-
{{ GITLG }} --since $DATE -C site
894+
git -C site log {{ GITSHORTFMT }} --since $DATE
895895
echo
896896
printf "** hledger_finance commits\n\n"
897-
{{ GITLG }} --since $DATE -C finance
897+
git -C finance log {{ GITSHORTFMT }} --since $DATE
898898
echo
899899
printf "** plaintextaccounting.org commits\n\n"
900-
(cd ../plaintextaccounting.org; {{ GITLG }} --since $DATE)
900+
git -C ../plaintextaccounting.org log {{ GITSHORTFMT }} --since $DATE
901901
echo
902902

903903
# Show hledger-related time logged since this date or days ago or last release

0 commit comments

Comments
 (0)