Created
March 11, 2026 16:35
-
-
Save metacoma/67d4cd20cfcb6bed8416e87d8b124747 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| set -eu | |
| OUT="/tmp/info.txt" | |
| DATE=$(date '+%F %T') | |
| while read oldrev newrev refname | |
| do | |
| echo "=== $DATE ===" >> $OUT | |
| echo "ref: $refname" >> $OUT | |
| git diff --name-only "$oldrev" "$newrev" >> $OUT | |
| echo >> $OUT | |
| done |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
почему пропустило
$ git commit -m 'test' привет.txt
[main 87d78b7] test
1 file changed, 0 insertions(+), 0 deletions(-)
create mode 100644 "\320\277\321\200\320\270\320\262\320\265\321\202.txt"