diff options
author | Máximo Cuadros <mcuadros@gmail.com> | 2017-02-24 09:44:53 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-24 09:44:53 +0100 |
commit | 294d6f4e6f1b60eb0f53515c1fb64b86db21d241 (patch) | |
tree | 96f136e2449f5dad9db06b769b63a5ad95aec8fa /plumbing/object/tree.go | |
parent | b5da4e98571b02dc106de4f9b2cb2a298489f1b1 (diff) | |
parent | cf4e8699879a2f8b2efad64a3efbbebb9cac39ef (diff) | |
download | go-git-294d6f4e6f1b60eb0f53515c1fb64b86db21d241.tar.gz |
Merge pull request #285 from alcortesm/fix-issue-279
Fix issue 279
Diffstat (limited to 'plumbing/object/tree.go')
-rw-r--r-- | plumbing/object/tree.go | 11 |
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. |