summaryrefslogtreecommitdiff
path: root/commits.go
diff options
context:
space:
mode:
authorKatolaZ <katolaz@freaknet.org>2017-07-15 01:26:39 +0100
committerKatolaZ <katolaz@freaknet.org>2017-07-15 01:26:39 +0100
commit726b399e4747032a3d052339cd62c57ae5b6767c (patch)
treeaac8350e83bb13e9628dd287ca3aae97ecafcb32 /commits.go
parented637037b75cb5dfe1b49e776956fa6ab3632b68 (diff)
pipeline from spool to worker is done -- added examples
Diffstat (limited to 'commits.go')
-rw-r--r--commits.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/commits.go b/commits.go
index d69cc2b..7703273 100644
--- a/commits.go
+++ b/commits.go
@@ -53,9 +53,9 @@ func walk_commits(msg SCORSHmsg, w *SCORSHworker) error {
fmt.Printf("Inside parse_commits\n")
- reponame := msg.repo
- old_rev := msg.old_rev
- new_rev := msg.new_rev
+ reponame := msg.Repo
+ old_rev := msg.Old_rev
+ new_rev := msg.New_rev
repo, err := git.OpenRepository(reponame)
if err != nil {