diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2010-11-23 15:58:32 +0100 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2010-11-23 16:04:42 +0100 |
commit | 8ad01ee239f9111133e52af29b78daed34c52e49 (patch) | |
tree | 8c20fda5672687fbb7b1f731e303c295954ea142 /refs/log.py | |
parent | a93eb7e8484e5bb40f9b8d11ac64a1621cf4c9cd (diff) | |
download | gitpython-8ad01ee239f9111133e52af29b78daed34c52e49.tar.gz |
SymbolicReference: log method added, including test
Diffstat (limited to 'refs/log.py')
-rw-r--r-- | refs/log.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/refs/log.py b/refs/log.py index e7f18c6a..1d07ef9a 100644 --- a/refs/log.py +++ b/refs/log.py @@ -1,4 +1,3 @@ -from head import Head from git.util import join_path from gitdb.util import ( join, @@ -170,7 +169,7 @@ class RefLog(list, Serializable): write = stream.write # write all entries - for i, e in enumerate(self): + for e in self: write(repr(e)) #END for each entry |