versions: add branch support in rev_list.
This commit is contained in:
parent
4702774616
commit
22e47ffa43
@ -61,9 +61,9 @@ class Formula
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
def rev_list
|
def rev_list branch='HEAD'
|
||||||
repository.cd do
|
repository.cd do
|
||||||
`git rev-list --abbrev-commit HEAD -- #{entry_name}`.split
|
`git rev-list --abbrev-commit #{branch} -- #{entry_name}`.split
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user