Skip to content

Fix lastFile parsing when the commit message has been appended to (e.g. via git hooks)#476

Merged
hollesse merged 1 commit intoremotemobprogramming:mainfrom
mhosinski:fix/lastfile-parsing-with-git-hooks
Jan 26, 2026
Merged

Fix lastFile parsing when the commit message has been appended to (e.g. via git hooks)#476
hollesse merged 1 commit intoremotemobprogramming:mainfrom
mhosinski:fix/lastfile-parsing-with-git-hooks

Conversation

@mhosinski
Copy link
Contributor

Parse only the first line after "lastFile:" to handle cases where git hooks append additional content to WIP commit messages. This fixes MOB_OPEN_COMMAND failures when git hooks modify WIP commits (e.g., adding sign-offs, ticket IDs, or trailers).

…g. via git hooks)

Parse only the first line after "lastFile:" to handle cases where git hooks append additional content to WIP commit messages, making MOB_OPEN_COMMAND more resilient.
@hollesse
Copy link
Member

Hi @mhosinski thank you for your contribution. I will have a look at it tomorrow and prepare a new release.

@hollesse hollesse merged commit 5049bad into remotemobprogramming:main Jan 26, 2026
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants