You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Displays "No changes or EOL changes" for all commits #449
Facing same problem with other more complicated repositories! Above example had just one file in the repository, below has several files:
git diff --ignore-cr-at-eol HEAD^ HEAD
diff --git a/Classical/Western/Rachmaninoff/Rachmaninoff 24 Préludes, Boris Giltburg (2019) [24-192]/Rachmaninoff 24 Préludes, Boris Giltburg (2019) [24-192].m3u8.new b/Classical/Western/Rachmaninoff/Rachmaninoff 24 Préludes, Boris Giltburg (2019) [24-192]/Rachmaninoff 24 Préludes, Boris Giltburg (2019) [24-192].m3u8
similarity index 96%
rename from Classical/Western/Rachmaninoff/Rachmaninoff 24 Préludes, Boris Giltburg (2019) [24-192]/Rachmaninoff 24 Préludes, Boris Giltburg (2019) [24-192].m3u8.new
rename to Classical/Western/Rachmaninoff/Rachmaninoff 24 Préludes, Boris Giltburg (2019) [24-192]/Rachmaninoff 24 Préludes, Boris Giltburg (2019) [24-192].m3u8
index ac8336b..6037ba4 100644
--- a/Classical/Western/Rachmaninoff/Rachmaninoff 24 Préludes, Boris Giltburg (2019) [24-192]/Rachmaninoff 24 Préludes, Boris Giltburg (2019) [24-192].m3u8.new +++ b/Classical/Western/Rachmaninoff/Rachmaninoff 24 Préludes, Boris Giltburg (2019) [24-192]/Rachmaninoff 24 Préludes, Boris Giltburg (2019) [24-192].m3u8 @@ -1,7 +1,7 @@
#EXTM3U
#EXTINF:255.106667, Sergey Rachmaninov - 01 Morceaux de fantaisie, op. 3 - No. 2 in C-sharp minor. Prélude
-#01 Morceaux de fantaisie, op. 3 - No. 2 in C-sharp minor. Prélude.flac+01 Morceaux de fantaisie, op. 3 - No. 2 in C-sharp minor. Prélude.flac
#EXTINF:220.720000, Sergey Rachmaninov - 02 10 Préludes, op. 23 - No. 1 in F-sharp minor. Largo
#02 10 Préludes, op. 23 - No. 1 in F-sharp minor. Largo.flac
@@ -46,7 +46,7 @@
#15 13 Préludes, op. 32 - No. 4 in E minor. Allegro con brio.flac
#EXTINF:194.733333, Sergey Rachmaninov - 16 13 Préludes, op. 32 - No. 5 in G major. Moderato
-#16 13 Préludes, op. 32 - No. 5 in G major. Moderato.flac+16 13 Préludes, op. 32 - No. 5 in G major. Moderato.flac
#EXTINF:102.626667, Sergey Rachmaninov - 17 13 Préludes, op. 32 - No. 6 in F minor. Allegro appassionato
#17 13 Préludes, op. 32 - No. 6 in F minor. Allegro appassionato.flac
@@ -71,4 +71,3 @@
#EXTINF:313.626667, Sergey Rachmaninov - 24 13 Préludes, op. 32 - No. 13 in D-flat major. Grave
#24 13 Préludes, op. 32 - No. 13 in D-flat major. Grave.flac
-diff --git a/Classical/Western/Shostakovich/Shostakovich Symphony No. 6 & 7; Incidental Music to King Lear, Boston Symphony Orchestra (2019) [16-44.1]/Shostakovich Suite from the Incidental Music to _King Lear_, op. 58a/Shostakovich Suite from the Incidental Music to _King Lear_, op. 58a.gen.m3u8 b/Classical/Western/Shostakovich/Shostakovich Symphony No. 6 & 7; Incidental Music to King Lear, Boston Symphony Orchestra (2019) [16-44.1]/Shostakovich Suite from the Incidental Music to King Lear, op. 58a/Shostakovich Suite from the Incidental Music to King Lear, op. 58a.gen.m3u8
similarity index 100%
rename from Classical/Western/Shostakovich/Shostakovich Symphony No. 6 & 7; Incidental Music to King Lear, Boston Symphony Orchestra (2019) [16-44.1]/Shostakovich Suite from the Incidental Music to _King Lear_, op. 58a/Shostakovich Suite from the Incidental Music to _King Lear_, op. 58a.gen.m3u8
rename to Classical/Western/Shostakovich/Shostakovich Symphony No. 6 & 7; Incidental Music to King Lear, Boston Symphony Orchestra (2019) [16-44.1]/Shostakovich Suite from the Incidental Music to King Lear, op. 58a/Shostakovich Suite from the Incidental Music to King Lear, op. 58a.gen.m3u8
diff --git a/Classical/Western/Shostakovich/Shostakovich Symphony No. 6 & 7; Incidental Music to King Lear, Boston Symphony Orchestra (2019) [16-44.1]/Shostakovich Suite from the Incidental Music to _King Lear_, op. 58a/Shostakovich Suite from the Incidental Music to _King Lear_, op. 58a.m3u8.new b/Classical/Western/Shostakovich/Shostakovich Symphony No. 6 & 7; Incidental Music to King Lear, Boston Symphony Orchestra (2019) [16-44.1]/Shostakovich Suite from the Incidental Music to King Lear, op. 58a/Shostakovich Suite from the Incidental Music to King Lear, op. 58a.m3u8.new
similarity index 100%
rename from Classical/Western/Shostakovich/Shostakovich Symphony No. 6 & 7; Incidental Music to King Lear, Boston Symphony Orchestra (2019) [16-44.1]/Shostakovich Suite from the Incidental Music to _King Lear_, op. 58a/Shostakovich Suite from the Incidental Music to _King Lear_, op. 58a.m3u8.new
rename to Classical/Western/Shostakovich/Shostakovich Symphony No. 6 & 7; Incidental Music to King Lear, Boston Symphony Orchestra (2019) [16-44.1]/Shostakovich Suite from the Incidental Music to King Lear, op. 58a/Shostakovich Suite from the Incidental Music to King Lear, op. 58a.m3u8.new
diff --git a/Classical/Western/Shostakovich/Shostakovich Symphony No. 6 & 7; Incidental Music to King Lear, Boston Symphony Orchestra (2019) [16-44.1]/Shostakovich Symphony No. 6 & 7; Incidental Music to King Lear, Boston Symphony Orchestra (2019) [16-44.1].gen.m3u8 b/Classical/Western/Shostakovich/Shostakovich Symphony No. 6 & 7; Incidental Music to King Lear, Boston Symphony Orchestra (2019) [16-44.1]/Shostakovich Symphony No. 6 & 7; Incidental Music to King Lear, Boston Symphony Orchestra (2019) [16-44.1].gen.m3u8
deleted file mode 100644
index 2dd3d05..0000000
--- a/Classical/Western/Shostakovich/Shostakovich Symphony No. 6 & 7; Incidental Music to King Lear, Boston Symphony Orchestra (2019) [16-44.1]/Shostakovich Symphony No. 6 & 7; Incidental Music to King Lear, Boston Symphony Orchestra (2019) [16-44.1].gen.m3u8 +++ /dev/null@@ -1,5 +0,0 @@-#EXTM3U--#EXTINF:380.933265, Dmitri Shostakovich - 1-15 _Festive Overture_, op. 96-1-15 _Festive Overture_, op. 96.flac-diff --git a/Classical/Western/Shostakovich/Shostakovich Symphony No. 6 & 7; Incidental Music to King Lear, Boston Symphony Orchestra (2019) [16-44.1]/Shostakovich Symphony No. 6 & 7; Incidental Music to King Lear, Boston Symphony Orchestra (2019) [16-44.1].m3u8.new b/Classical/Western/Shostakovich/Shostakovich Symphony No. 6 & 7; Incidental Music to King Lear, Boston Symphony Orchestra (2019) [16-44.1]/Shostakovich Symphony No. 6 & 7; Incidental Music to King Lear, Boston Symphony Orchestra (2019) [16-44.1].m3u8.new
deleted file mode 100644
index 75138aa..0000000
--- a/Classical/Western/Shostakovich/Shostakovich Symphony No. 6 & 7; Incidental Music to King Lear, Boston Symphony Orchestra (2019) [16-44.1]/Shostakovich Symphony No. 6 & 7; Incidental Music to King Lear, Boston Symphony Orchestra (2019) [16-44.1].m3u8.new +++ /dev/null@@ -1,5 +0,0 @@-#EXTM3U--#EXTINF:380.933265, Dmitri Shostakovich - 1-15 _Festive Overture_, op. 96-#1-15 _Festive Overture_, op. 96.flac-
In addition, I pushed a commit to force the --patch parameter in the git diff command. I'm not sure if it is the reason that causes this issue since I can't reproduce it, but from the git manual, the issue seems to be somewhat related to this parameter.
Activity
love-linger commentedon Sep 9, 2024
Could you please do some tests for me? What's the output when you run
git diff --ignore-cr-at-eol ${COMMIT_SHA}^ ${COMMIT_SHA} -- ${FILE_PATH}Note
You need replace the
${COMMIT_SHA}and${FILE_PATH}lamyergeier commentedon Sep 11, 2024
lamyergeier commentedon Sep 11, 2024
Also, when changes are made to a staged file (e.g. by adding characters to a new line) it shows following
love-linger commentedon Sep 11, 2024
It's very strange. Do you only have the problem in this repo, or do all repos have the problem?
lamyergeier commentedon Sep 11, 2024
Facing same problem with other more complicated repositories! Above example had just one file in the repository, below has several files:
love-linger commentedon Sep 30, 2024
I installed Fedora 40 in a virtual machine (VirtualBox) and cannot reproduce this issue
nevse commentedon Oct 17, 2024
I have a similar issue on macOS. It seems to depend on something specific in the environment, but I can't figure out what it might be.

love-linger commentedon Oct 17, 2024
@nevse Cound you start the app from commandline by
open -a SourceGitto see if the issue still exists?love-linger commentedon Oct 17, 2024
or could you test the diff command to make sure the command used by SourceGit is supported on your system.
git diff --ignore-cr-at-eol --unified=4 COMMIT_HASH^ COMMIT_HASH -- "FILE_PATH"Note
Remember replace the COMMIT_HASH & FILE_PATH with yours
love-linger commentedon Oct 17, 2024
In addition, I pushed a commit to force the
--patchparameter in thegit diffcommand. I'm not sure if it is the reason that causes this issue since I can't reproduce it, but from the git manual, the issue seems to be somewhat related to this parameter.You can download the CI build from https://github.com/sourcegit-scm/sourcegit/actions/runs/11383888642
nevse commentedon Oct 17, 2024
I've tried the version from CI and recieved such error message:
If I start your app via command line
open -a SourceGitit doesn't show this error.And diff command seems work well

love-linger commentedon Oct 17, 2024
i think i know the problem. you are using an external diff tool...
nevse commentedon Oct 17, 2024
nevse commentedon Oct 17, 2024
Yes, I had forgotten that my
.gitconfighad an external diff configured. I removed it, and everything is okay now.lamyergeier commentedon Oct 28, 2024
@love-linger Is it possible by sourcegit to ignore the "external diff tool setting" defined in the
gitconfig?love-linger commentedon Oct 28, 2024
I'm trying to make it possible...