Esempio n. 1
0
File: refs.go Progetto: jbrukh/ggit
// TODO: come up with a better name for this
func (f *formatter) Deref(r objects.Ref) (int, error) {
	return fmt.Fprintf(f.Writer, "%s %s^{}", r.Commit(), r.Name())
}