diff options
author | Jon Bergli Heier <snakebite@jvnv.net> | 2010-01-11 18:52:53 +0100 |
---|---|---|
committer | Jon Bergli Heier <snakebite@jvnv.net> | 2010-01-11 18:52:53 +0100 |
commit | 360dbb47fa1cca4ed5cfc4fa3f48255f3d2c5b27 (patch) | |
tree | 3128846a033b5b41b56bbfb5afa998324d6f63f6 | |
parent | e8a76ccd1fb1bb5126957d38519b97b3fc408f38 (diff) |
Fixed "show" not returning the correct commit.
-rwxr-xr-x | gitnoti.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -193,7 +193,7 @@ class Bot(irc.IRCClient): frm, to = name.split('..') commits = list(repo.commits_between(frm, to)) else: - commits = repo.commits(name) + commits = repo.commits(name)[:1] except git.errors.GitCommandError: return [] |