Skip to content

Commit d0a9bfd

Browse files
committed
switch rebase indicator numbers
1 parent 6a4a582 commit d0a9bfd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/Main.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ rebaseProgess repo = do
4141
last' <- E.catch (readRebase "last") readHandler
4242
if length (last' ++ next) < 1
4343
then pure "0"
44-
else pure $ strip last' ++ "/" ++ strip next
44+
else pure $ strip next ++ "/" ++ strip last'
4545

4646
isMergeInProgess :: FilePath -> IO Bool
4747
isMergeInProgess = doesFileExist . (</> "MERGE_HEAD")

0 commit comments

Comments
 (0)