summaryrefslogtreecommitdiff
path: root/lib/git/index/typ.py
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2010-06-21 16:08:41 +0200
committerSebastian Thiel <byronimo@gmail.com>2010-06-21 16:09:45 +0200
commit91725f0fc59aa05ef68ab96e9b29009ce84668a5 (patch)
tree68a476817eab944be75ad198e5dae40e227c8257 /lib/git/index/typ.py
parent0fdf6c3aaff49494c47aaeb0caa04b3016e10a26 (diff)
downloadgitpython-91725f0fc59aa05ef68ab96e9b29009ce84668a5.tar.gz
index.add does not need the git clt anymore
Diffstat (limited to 'lib/git/index/typ.py')
-rw-r--r--lib/git/index/typ.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/git/index/typ.py b/lib/git/index/typ.py
index a8588792..b5dac58a 100644
--- a/lib/git/index/typ.py
+++ b/lib/git/index/typ.py
@@ -137,15 +137,13 @@ class IndexEntry(BaseIndexEntry):
return self[10]
@classmethod
- def from_base(cls, base, actual_value=False):
+ def from_base(cls, base):
"""
:return:
Minimal entry as created from the given BaseIndexEntry instance.
Missing values will be set to null-like values
- :param base: Instance of type BaseIndexEntry
- :param actual_value: if set, instead of writing 0 values for fields that
- don't exist in the BaseEntry, the actual values will be written in."""
+ :param base: Instance of type BaseIndexEntry"""
time = pack(">LL", 0, 0)
return IndexEntry((base.mode, base.sha, base.flags, base.path, time, time, 0, 0, 0, 0, 0))