ash-project / ash-project/igniter

Diff output is not working correctly on Windows

Open
#202 7 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Elixir
Stars
404
Forks
75
Avg merge
9h 58m
Merged PRs (30d)
3

Description

Hello, We're having an issue with displaying changes in a file. As shown in the video, the components are installed from `Mishka chelekom`, and the project is up to date with the latest master branch. I make some changes to a component in my project, and then I pull updates from the master. Naturally, the changes I made differ from what's in the master.

In the macOS video, we can see that only the parts of the file that were modified are highlighted in green and red, clearly showing what was added or removed. However, on Windows, as seen in the video, the entire file gets printed twice in the command line instead of just showing the differences.

This inconsistency in Windows creates additional challenges in tracking file changes effectively.

## MAC

https://github.com/user-attachments/assets/f9bbfda6-2438-4f46-9823-e31cd4cb5966

## Windows:

https://github.com/user-attachments/assets/53234698-73e3-4aed-ba5b-8e4a4f651a69

\*\* Runtime

igniter: 0.5.8
Elixir: 1.18.1
Erlang: 27
OS: Windows 11

CC: @shahryarjb

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue on Windows 11 with Igniter 0.5.8, using a component changed locally and then updated from master; compare the command-line output with the macOS behavior shown in the videos. The work is done when Windows displays only the added and removed portions instead of printing the entire file twice.

Written by the indexing model from the issue text.

Assessment

Tech stack
elixir
Domain
cli, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.