aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/reference.go
diff options
context:
space:
mode:
Diffstat (limited to 'plumbing/reference.go')
-rw-r--r--plumbing/reference.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/plumbing/reference.go b/plumbing/reference.go
index 98516c7..b9f4a95 100644
--- a/plumbing/reference.go
+++ b/plumbing/reference.go
@@ -42,7 +42,8 @@ func (r ReferenceName) Short() string {
}
const (
- HEAD ReferenceName = "HEAD"
+ HEAD ReferenceName = "HEAD"
+ Master ReferenceName = "refs/heads/master"
)
// Reference is a representation of git reference