blob: ec59572a18a5555481d6c5dda91abc2441a9477d (
about) (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
package testgit
import (
"testing"
)
// VerifyPack runs git verify-pack -v on one pack index path
// and returns its raw verbose output.
func (repo *Repo) VerifyPack(tb testing.TB, idxPath string) ([]byte, error) {
tb.Helper()
return repo.run(tb, nil, "git", "verify-pack", "-v", "--end-of-options", idxPath)
}
|