Compare commits
2 Commits
abf75d636b
...
fb2d0cf506
Author | SHA1 | Date | |
---|---|---|---|
fb2d0cf506 | |||
22b1efd66e |
@ -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 () {
|
||||
|
@ -8,3 +8,4 @@ rrrr
|
||||
uuuu
|
||||
hhhhhhhhhhhhhhhhhh
|
||||
uuuuuu
|
||||
ooooo
|
||||
|
Loading…
x
Reference in New Issue
Block a user