Compare commits
No commits in common. "fb2d0cf506214f2ab9b36925d19490f352b52c55" and "abf75d636b3919d5f21e6f067e0b6478610227ba" have entirely different histories.
fb2d0cf506
...
abf75d636b
@ -24,7 +24,9 @@ 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 $(git log --all --pretty=format:%H -- $1 | xargs -I{} bash -c "git ls-tree {} -- $1 | grep -q $1 && echo {}")
|
echo $(echo $(git log --all --pretty=format:%H -- $1) |
|
||||||
|
xargs -I{} bash -c "git ls-tree {} -- $1 |
|
||||||
|
grep -q $1 && echo {}")
|
||||||
}
|
}
|
||||||
|
|
||||||
changed_file_names () {
|
changed_file_names () {
|
||||||
|
@ -8,4 +8,3 @@ rrrr
|
|||||||
uuuu
|
uuuu
|
||||||
hhhhhhhhhhhhhhhhhh
|
hhhhhhhhhhhhhhhhhh
|
||||||
uuuuuu
|
uuuuuu
|
||||||
ooooo
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user