diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2010-06-21 16:08:41 +0200 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2010-06-21 16:09:45 +0200 |
commit | 91725f0fc59aa05ef68ab96e9b29009ce84668a5 (patch) | |
tree | 68a476817eab944be75ad198e5dae40e227c8257 /lib/git/index/typ.py | |
parent | 0fdf6c3aaff49494c47aaeb0caa04b3016e10a26 (diff) | |
download | gitpython-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.py | 6 |
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)) |