Skip to content

Commit 0e75b6d

Browse files
author
Aaron Schlesinger
committed
doc(build.go): add an explanatory comment
for the short sha index constant
1 parent 97ca1af commit 0e75b6d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

pkg/gitreceive/build.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ import (
1717
)
1818

1919
const (
20+
// this constant represents the length of a shortened git sha - 8 characters long
2021
shortShaIdx = 8
2122
)
2223

0 commit comments

Comments
 (0)