git-codereview: remove unused cruft
Change-Id: If9b3494162311743d9ea84dc9dc26163d6563c9c
Reviewed-on: https://go-review.googlesource.com/131055
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
diff --git a/git-codereview/change.go b/git-codereview/change.go
index 7507973..35fa519 100644
--- a/git-codereview/change.go
+++ b/git-codereview/change.go
@@ -253,14 +253,6 @@
`
-const fixesIssueWarning = `
-Your CL description contains the string %q, which is
-the old Google Code way of linking commits to issues.
-
-You should rewrite it to use the GitHub convention: "Fixes #%v".
-
-`
-
func scanYes() bool {
var s string
fmt.Scan(&s)
diff --git a/git-codereview/util_test.go b/git-codereview/util_test.go
index ab8dced..7065da2 100644
--- a/git-codereview/util_test.go
+++ b/git-codereview/util_test.go
@@ -275,11 +275,6 @@
}
}
-func testMainCanDie(t *testing.T, args ...string) {
- mainCanDie = true
- testMain(t, args...)
-}
-
func testMain(t *testing.T, args ...string) {
*noRun = false
*verbose = 0