From: "Jeremy Ramer" <jdramer@gmail.com>
To: "Git Mailing List" <git@vger.kernel.org>
Subject: cygwin git diff crash
Date: Wed, 14 Jan 2009 15:09:50 -0700 [thread overview]
Message-ID: <b9fd99020901141409w1e0c926fkc762f8709bd1c13f@mail.gmail.com> (raw)
Ok this is a weird issue and it's probably cygwin's fault, but I
haven't found any way to fix it so I' thought I would throw it out
here for comment.
I am using git 1.6.0.4 on cygwin. I have a repo where if any file has
changes and git detects as mode 100644 I get this error:
$git diff
3 [main] git 2744 C:\cygwin\bin\git.exe: *** fatal error - could
not load user32, Win32 error
If I change the mode to 100755 git diff will work fine.
$chmod a+x test.cpp
$git diff
diff --git a/test.cpp b/test.cpp
old mode 100644
new mode 100755
index 7c0dfcd..20987a7
--- a/test.cpp
+++ b/test.cpp
@@ -6,9 +6,11 @@ int main()
void func()
{
+ int a;^M
}
void func2()
{
+ int b;^M
}
Anybody have a clue as to why this might occur? I have seen this in
many of the repo's I use, but it is not repeatable. I tried making a
test repo but could not reproduce.
Thanks!
Jeremy
next reply other threads:[~2009-01-14 22:11 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-14 22:09 Jeremy Ramer [this message]
2009-01-14 22:33 ` cygwin git diff crash Johannes Schindelin
2009-01-15 14:42 ` Jeremy Ramer
2009-01-15 15:34 ` Johannes Schindelin
2009-01-15 21:08 ` Jeremy Ramer
2009-01-16 1:47 ` Johannes Schindelin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=b9fd99020901141409w1e0c926fkc762f8709bd1c13f@mail.gmail.com \
--to=jdramer@gmail.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).