mirror of
https://github.com/servo/servo.git
synced 2025-06-12 02:14:41 +00:00
Fix ./mach filter_intermittents
in shallow git clones.
`git log --merges` only shows commits with at least two parents. Presumably, this only works when the parent commits are in the local repository. In a shallow clone (`--depth 1`), on the HEAD commit is fetched. This commit removes the `--merges` filter. This shouldn’t affect the behavior, since CI always runs with a merge commit as HEAD.
This commit is contained in:
parent
e680c5be80
commit
9ab2606a54
1 changed files with 1 additions and 1 deletions
|
@ -543,7 +543,7 @@ class MachCommands(CommandBase):
|
|||
reported = set()
|
||||
|
||||
proc = subprocess.Popen(
|
||||
["git", "log", "--merges", "--oneline", "-1"],
|
||||
["git", "log", "--oneline", "-1"],
|
||||
stdout=subprocess.PIPE)
|
||||
(last_merge, _) = proc.communicate()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue