From 28fbeb1f505cc97fa0ebb1eefc62d65749cfdfb5 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Fri, 30 Jan 2015 12:25:50 -0500 Subject: 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 --- git-codereview/branch.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'git-codereview/branch.go') diff --git a/git-codereview/branch.go b/git-codereview/branch.go index 38933b0..cabe7f6 100644 --- a/git-codereview/branch.go +++ b/git-codereview/branch.go @@ -347,12 +347,12 @@ func (b *Branch) DefaultCommit(action string) *Commit { return work[0] } -func branchpoint(args []string) { +func cmdBranchpoint(args []string) { expectZeroArgs(args, "sync") fmt.Fprintf(stdout(), "%s\n", CurrentBranch().Branchpoint()) } -func rebasework(args []string) { +func cmdRebaseWork(args []string) { expectZeroArgs(args, "rebase-work") b := CurrentBranch() if HasStagedChanges() || HasUnstagedChanges() { -- cgit v1.3