aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/object
diff options
context:
space:
mode:
authorMáximo Cuadros <mcuadros@gmail.com>2017-02-24 09:44:53 +0100
committerGitHub <noreply@github.com>2017-02-24 09:44:53 +0100
commit294d6f4e6f1b60eb0f53515c1fb64b86db21d241 (patch)
tree96f136e2449f5dad9db06b769b63a5ad95aec8fa /plumbing/object
parentb5da4e98571b02dc106de4f9b2cb2a298489f1b1 (diff)
parentcf4e8699879a2f8b2efad64a3efbbebb9cac39ef (diff)
downloadgo-git-294d6f4e6f1b60eb0f53515c1fb64b86db21d241.tar.gz
Merge pull request #285 from alcortesm/fix-issue-279
Fix issue 279
Diffstat (limited to 'plumbing/object')
-rw-r--r--plumbing/object/tree.go11
1 files changed, 6 insertions, 5 deletions
diff --git a/plumbing/object/tree.go b/plumbing/object/tree.go
index 27d8578..436ac32 100644
--- a/plumbing/object/tree.go
+++ b/plumbing/object/tree.go
@@ -19,11 +19,12 @@ const (
maxTreeDepth = 1024
startingStackSize = 8
- FileMode os.FileMode = 0100644
- ExecutableMode os.FileMode = 0100755
- SubmoduleMode os.FileMode = 0160000
- SymlinkMode os.FileMode = 0120000
- TreeMode os.FileMode = 0040000
+ FileMode os.FileMode = 0100644
+ FileModeDeprecated os.FileMode = 0100664
+ ExecutableMode os.FileMode = 0100755
+ SubmoduleMode os.FileMode = 0160000
+ SymlinkMode os.FileMode = 0120000
+ TreeMode os.FileMode = 0040000
)
// New errors defined by this package.