Skip to content

Instantly share code, notes, and snippets.

@inductor
Created April 9, 2021 03:35
Show Gist options
  • Save inductor/c0649906571c17df6beccf019b909e5e to your computer and use it in GitHub Desktop.
Save inductor/c0649906571c17df6beccf019b909e5e to your computer and use it in GitHub Desktop.
git-list.sh
for f in $(git ls-files -z content/ja/docs/ \
| xargs -0 -n1 -I{} -- git log -1 --format="%ai {}" {} \
| awk '{print $4}' \
| sed -e 's/ja/en/'); do git diff --name-only origin/release-1.17 origin/release-1.18 -- $f; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment