Try fo fix evaluating last-commit...

This commit is contained in:
Gerhard Hoffmann 2023-04-25 11:09:17 +02:00
parent abf75d636b
commit 22b1efd66e

View File

@ -24,9 +24,7 @@ get_blob () { # get the blob of the file(name) passed as $1
get_commit_for_blob () {
# search for the blob in all commits for the file(name) $1
echo $(echo $(git log --all --pretty=format:%H -- $1) |
xargs -I{} bash -c "git ls-tree {} -- $1 |
grep -q $1 && echo {}")
echo $(git log --all --pretty=format:%H -- $1 | xargs -I{} bash -c "git ls-tree {} -- $1 | grep -q $1 && echo {}")
}
changed_file_names () {