list all files that were deleted in a given commit

git see all deleted files in a commit

git diff --name-status ab1201b8a0133c508cece1d7acd634bca56fce55 ab1201b8a0133c508cece1d7acd634bca56fce55^ | grep ^[^D] | cut -f2

bash have a command act on each line of output

(Chris said later that xargs can also do it, without a loop)

bash while do on one line

(just use semicolons, with no punctuation other than a space between the do and your command.)

bash delete first character of each line

See also: