Skip to content

add author and committer in params of the commit function #146

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Nov 17, 2014
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update symbolic.py
  • Loading branch information
dralliw committed Mar 24, 2014
commit 4a7e7a769087b1790a18d6645740b5b670f5086b
2 changes: 1 addition & 1 deletion git/refs/symbolic.py
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ def log_append(self, oldbinsha, message, newbinsha=None):
:param newbinsha: The sha the ref points to now. If None, our current commit sha
will be used
:return: added RefLogEntry instance"""
return RefLog.append_entry(self.repo.config_reader(), RefLog.path(self), oldbinsha,
return RefLog.append_entry(self.commit.committer, RefLog.path(self), oldbinsha,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See above

(newbinsha is None and self.commit.binsha) or newbinsha,
message)

Expand Down