| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 87b5d9c commit 4bebfe3
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1065,11 +1065,11 @@ def __repr__(self): | |||
| 1065 | 1065 | ||
| 1066 | 1066 | def currently_rebasing_on(self): | |
| 1067 | 1067 | """ | |
| 1068 | - :return: The hash of the commit which is currently being replayed while rebasing. | ||
| 1068 | + :return: The commit which is currently being replayed while rebasing. | ||
| 1069 | 1069 | ||
| 1070 | 1070 | None if we are not currently rebasing. | |
| 1071 | 1071 | """ | |
| 1072 | 1072 | rebase_head_file = osp.join(self.git_dir, "REBASE_HEAD") | |
| 1073 | 1073 | if not osp.isfile(rebase_head_file): | |
| 1074 | 1074 | return None | |
| 1075 | - return open(rebase_head_file, "rt").readline().strip() | ||
| 1075 | + return self.commit(open(rebase_head_file, "rt").readline().strip()) | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments