From 91725f0fc59aa05ef68ab96e9b29009ce84668a5 Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Mon, 21 Jun 2010 16:08:41 +0200 Subject: index.add does not need the git clt anymore --- lib/git/index/typ.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'lib/git/index/typ.py') 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)) -- cgit v1.2.1