[GH-ISSUE #1566] UPDATE.bat prints a PowerShell-incompatible command #626

Closed
opened 2026-11-04 01:44:37 +07:00 by bsakaguchi · 3 comments
Owner

Originally created by @BonifacioCalindoro on GitHub (Oct 8, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/1566

When UPDATE.bat detects an old repository history, it prints:

git branch pre-cleanup-backup && git stash push

This fails when copied into Windows PowerShell 5.1, which does not support && as a statement separator.

The recovery instructions should be compatible with PowerShell 5.1 as well.

PR #1568 fixes this

Originally created by @BonifacioCalindoro on GitHub (Oct 8, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/1566 When UPDATE.bat detects an old repository history, it prints: git branch pre-cleanup-backup && git stash push This fails when copied into Windows PowerShell 5.1, which does not support && as a statement separator. The recovery instructions should be compatible with PowerShell 5.1 as well. PR #1568 fixes this
Author
Owner

@Niko1221 commented on GitHub (Oct 10, 2026):

Fixed in v0.1.42 through #1568: UPDATE.bat no longer prints a command with && for you to paste. The two git commands are on separate lines.

<!-- gh-comment-id:6099609252 --> @Niko1221 commented on GitHub (Oct 10, 2026): Fixed in v0.1.42 through #1568: UPDATE.bat no longer prints a command with && for you to paste. The two git commands are on separate lines.
Author
Owner

@Niko1221 commented on GitHub (Oct 13, 2026):

Thanks for the report. To keep the tracker current we are closing issues older than three days: 0.1.44 is out with a long list of fixes, and many older reports are covered by it or by 0.1.43.1.

If this still happens on 0.1.44, please leave a comment here with your engine log (and the version line it prints), and we will reopen it. A new issue that links this one works too.

<!-- gh-comment-id:6156136751 --> @Niko1221 commented on GitHub (Oct 13, 2026): Thanks for the report. To keep the tracker current we are closing issues older than three days: [0.1.44](https://github.com/Niko1221/Strata/releases/tag/v0.1.44) is out with a long list of fixes, and many older reports are covered by it or by 0.1.43.1. If this still happens on 0.1.44, please leave a comment here with your engine log (and the version line it prints), and we will reopen it. A new issue that links this one works too.
Author
Owner

@BonifacioCalindoro commented on GitHub (Oct 13, 2026):

If this issue was solved in v0.1.42, then shouldn't it be closed as "completed" instead of "not planned"?

<!-- gh-comment-id:6156756305 --> @BonifacioCalindoro commented on GitHub (Oct 13, 2026): If this issue was solved in v0.1.42, then shouldn't it be closed as "completed" instead of "not planned"?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#626
No description provided.