mirror of
https://github.com/protocolbuffers/protobuf-go.git
synced 2025-04-17 11:42:38 +00:00
all: remove reliance on --compact-summary
This flag is recently added to git. Avoid it for now. Change-Id: I007f3cc12ec6ef37bc6d70ddc346b7af7983879e Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/220501 Reviewed-by: Damien Neil <dneil@google.com>
This commit is contained in:
parent
4d8936d0db
commit
a88c3c4068
@ -53,7 +53,7 @@ func Test(t *testing.T) {
|
||||
// going through all the presubmits.
|
||||
//
|
||||
// Fail the test late, so we can test uncommitted changes with -failfast.
|
||||
diff := mustRunCommand(t, "git", "diff", "--compact-summary", "HEAD")
|
||||
diff := mustRunCommand(t, "git", "diff", "HEAD")
|
||||
if strings.TrimSpace(diff) != "" {
|
||||
fmt.Printf("WARNING: working tree contains uncommitted changes:\n%v\n", diff)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user