File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -881,23 +881,23 @@ chlog *CHANGELOG:
881
881
awk ' /^#+ /{p=1};/^#+ +[0-9]+\.[0-9].*([0-9]{4}-[0-9]{2}-[0-9]{2})/{exit};p' $CHANGELOG
882
882
fi
883
883
884
- GITLG := " git log --format='%ad %h %s' --date=short"
884
+ GITSHORTFMT := " --format='%ad %h %s' --date=short"
885
885
886
886
# Show commits in the three repos since this date or days ago or last release, briefly.
887
887
commitlog * DATEARG :
888
888
#!/ usr/ bin/ env osh
889
889
DATE=` just _datearg $DATEARG `
890
890
printf " ** hledger commits\n\n "
891
- {{ GITLG }} --since $DATE
891
+ git log {{ GITSHORTFMT }} --since $DATE
892
892
echo
893
893
printf " ** hledger_site commits\n\n "
894
- {{ GITLG }} --since $DATE -C site
894
+ git -C site log {{ GITSHORTFMT }} --since $DATE
895
895
echo
896
896
printf " ** hledger_finance commits\n\n "
897
- {{ GITLG }} --since $DATE -C finance
897
+ git -C finance log {{ GITSHORTFMT }} --since $DATE
898
898
echo
899
899
printf " ** plaintextaccounting.org commits\n\n "
900
- (cd ../ plaintextaccounting.org; {{ GITLG }} --since $DATE)
900
+ git -C ../ plaintextaccounting.org log {{ GITSHORTFMT }} --since $DATE
901
901
echo
902
902
903
903
# Show hledger-related time logged since this date or days ago or last release
You can’t perform that action at this time.
0 commit comments