trace the refs and shas given to pre-push
This commit is contained in:
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
|
||||
|
Loading…
Reference in New Issue
Block a user