Explorar o código

Break on commit seek when found

Signed-off-by: Robert Lin <robertlin1@gmail.com>
Robert Lin %!s(int64=6) %!d(string=hai) anos
pai
achega
b4af94f526
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      internal/plumbing/ticks.go

+ 1 - 0
internal/plumbing/ticks.go

@@ -141,6 +141,7 @@ func (ticks *TicksSinceStart) Consume(deps map[string]interface{}) (map[string]i
 		for i := range tickCommits {
 			if tickCommits[len(tickCommits)-i-1] == commit.Hash {
 				exists = true
+				break
 			}
 		}
 	}