Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87b5d9c commit 4bebfe3Copy full SHA for 4bebfe3
git/repo/base.py
@@ -1065,11 +1065,11 @@ def __repr__(self):
1065
1066
def currently_rebasing_on(self):
1067
"""
1068
- :return: The hash of the commit which is currently being replayed while rebasing.
+ :return: The commit which is currently being replayed while rebasing.
1069
1070
None if we are not currently rebasing.
1071
1072
rebase_head_file = osp.join(self.git_dir, "REBASE_HEAD")
1073
if not osp.isfile(rebase_head_file):
1074
return None
1075
- return open(rebase_head_file, "rt").readline().strip()
+ return self.commit(open(rebase_head_file, "rt").readline().strip())
0 commit comments