Compare commits

..

2 Commits

Author SHA1 Message Date
fb2d0cf506 test 2023-04-25 11:09:38 +02:00
22b1efd66e Try fo fix evaluating last-commit... 2023-04-25 11:09:17 +02:00
2 changed files with 2 additions and 3 deletions

View File

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

View File

@ -8,3 +8,4 @@ rrrr
uuuu uuuu
hhhhhhhhhhhhhhhhhh hhhhhhhhhhhhhhhhhh
uuuuuu uuuuuu
ooooo