trace the refs and shas given to pre-push

This commit is contained in:
risk danger olson 2016-11-10 09:37:51 -07:00
parent 7d54b1c0e0
commit f81cf0cebc

@ -7,6 +7,7 @@ import (
"github.com/github/git-lfs/git"
"github.com/github/git-lfs/lfs"
"github.com/rubyist/tracerx"
"github.com/spf13/cobra"
)
@ -66,6 +67,8 @@ func prePushCommand(cmd *cobra.Command, args []string) {
continue
}
tracerx.Printf("pre-push: %s", line)
left, right := decodeRefs(line)
if left == prePushDeleteBranch {
continue