Removed git_changelog function.

It was a bad idea, poorly implemented.
This commit is contained in:
2025-04-25 13:24:07 -04:00
parent 8a6f0a1723
commit 83928f3cec

View File

@@ -97,18 +97,3 @@ testmerge() {
git diff --cached
echo "'git merge --abort' when done"
}
git_changelog() {
echo "# Last 25 Commits" > CHANGELOG.md # Add the header
git log --pretty=format:"%h|%ad|%an|%s" --date=short -n 25 | \
awk -F'|' '{
printf "## %s (%s, %s) - %s\n\n", $1, $3, $2, $4;
commit_hash = $1;
cmd = "git show -s --format='%x09%b' " commit_hash;
while ((cmd | getline line) > 0) {
printf "%s\n", line;
}
close(cmd);
printf "\n";
}' >> CHANGELOG.md
}