Browse Source
PreReceiveHook is given a Collection<ReceiveCommand> and it can be very useful here to call ReceiveCommand.filter(cmds, NOT_ATTEMPTED). Overload filter to accept both Iterable and List. Keep backwards binary compatibility for List by upcasting to Iterable. Change-Id: Ib1341876c703670945ef209edc8259715ee86c26stable-4.3
Shawn Pearce
9 years ago
1 changed files with 28 additions and 7 deletions
Loading…
Reference in new issue