aboutsummaryrefslogtreecommitdiff
path: root/git-codereview/pending.go
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2015-01-30 12:25:50 -0500
committerRuss Cox <rsc@golang.org>2015-01-30 19:31:47 +0000
commit28fbeb1f505cc97fa0ebb1eefc62d65749cfdfb5 (patch)
tree990d7911a535819c70b1c9548d74246c09e7f45d /git-codereview/pending.go
parent0dfa64fa8ebb5b99dcf6b5a3f6684441d90a37d7 (diff)
downloadgo-x-review-28fbeb1f505cc97fa0ebb1eefc62d65749cfdfb5.tar.xz
git-codereview: use cmd prefix on command implementation funcs
The name space is getting a bit crowded. These words are too easy to use for other variables or functions. Change-Id: Iedbccb82f85627fe422a029a6b45ad39a2e18dd0 Reviewed-on: https://go-review.googlesource.com/3627 Reviewed-by: Rob Pike <r@golang.org>
Diffstat (limited to 'git-codereview/pending.go')
-rw-r--r--git-codereview/pending.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-codereview/pending.go b/git-codereview/pending.go
index 3239d23..deda834 100644
--- a/git-codereview/pending.go
+++ b/git-codereview/pending.go
@@ -52,7 +52,7 @@ func (b *pendingBranch) load() {
}
}
-func pending(args []string) {
+func cmdPending(args []string) {
flags.BoolVar(&pendingCurrentOnly, "c", false, "show only current branch")
flags.BoolVar(&pendingLocal, "l", false, "use only local information - no network operations")
flags.BoolVar(&pendingShort, "s", false, "show short listing")