From 6917ae4ce9eaa0f5ea91592988c1ea830626ac3a Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Tue, 29 Jun 2010 12:10:56 +0200 Subject: Diff: fixed bug that caused a string to end up as a blob mode --- lib/git/remote.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/git/remote.py') diff --git a/lib/git/remote.py b/lib/git/remote.py index 94bd285b..9c46a027 100644 --- a/lib/git/remote.py +++ b/lib/git/remote.py @@ -384,7 +384,7 @@ class FetchInfo(object): split_token = '...' if control_character == ' ': split_token = split_token[:-1] - old_commit = Commit(repo, operation.split(split_token)[0]) + old_commit = Commit.new(repo, operation.split(split_token)[0]) # END handle refspec # END reference flag handling -- cgit v1.2.1