We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1ab1694 commit 6720e8dCopy full SHA for 6720e8d
doc/source/changes.rst
@@ -2,6 +2,11 @@
2
Changelog
3
=========
4
5
+NEXT
6
+====
7
+* Blob Type
8
+ * Added mode constants to ease the manual creation of blobs
9
+
10
0.3.1 Beta 2
11
============
12
* Added **reflog support** ( reading and writing )
git/objects/blob.py
@@ -13,6 +13,11 @@ class Blob(base.IndexObject):
13
"""A Blob encapsulates a git blob object"""
14
DEFAULT_MIME_TYPE = "text/plain"
15
type = "blob"
16
17
+ # valid blob modes
18
+ executable_mode = 0100755
19
+ file_mode = 0100644
20
+ link_mode = 0120000
21
22
__slots__ = tuple()
23
0 commit comments