summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--textproto/types.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/textproto/types.go b/textproto/types.go
index 20aa3e5..1ff21a8 100644
--- a/textproto/types.go
+++ b/textproto/types.go
@@ -101,7 +101,7 @@ func ParseIdent(str string) (Ident, error) {
// Mode is a file mode as seen by git.
type Mode uint32 // 18 bits
-var (
+const (
ModeFil = Mode(0100644) // A regular file
ModeExe = Mode(0100755) // An executable file
ModeSym = Mode(0120000) // A symbolic link