Skip to content

Commit

Permalink
Remove debug
Browse files Browse the repository at this point in the history
  • Loading branch information
driusan committed Dec 29, 2016
1 parent a74666d commit b122b7c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions git/updateref.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,11 @@ func UpdateRefSpec(c *Client, opts UpdateRefOptions, ref RefSpec, cmt CommitID,

// The RefSpec Stringer method strips out trailing newlines and junk.
filename := File(ref.String())
print("filename, ", filename)
if err := updateReflog(c, opts.CreateReflog, File(c.GitDir)+"/logs/"+filename, opts.OldValue, cmt.String(), reason); err != nil {
return err
}

file, err := c.GitDir.Create(filename)
fmt.Printf("%s", file)
if err != nil {
return err
}
Expand Down

0 comments on commit b122b7c

Please sign in to comment.