All of lore.kernel.org
 help / color / mirror / Atom feed
* [BUG] Bad msysgit/egit interaction over dotfiles
@ 2009-12-08 13:28 Yann Dirson
  2009-12-08 13:34 ` Erik Faye-Lund
  0 siblings, 1 reply; 9+ messages in thread
From: Yann Dirson @ 2009-12-08 13:28 UTC (permalink / raw)
  To: GIT ml

Some devs here started to use egit on windows, and since egit is not
complete yet, occasionally^Wregularly use msysgit for
rebase/stash/you-name-it.

This revealed a strange problem that took some time figuring out,
where eclipse refused to write to .classpath or .project, just saying
"could not write", while other apps had no problem editing the same
files.

In the end, the problem is that the dotfiles had the "hidden" bit set,
and that for some reason eclipse does not allow to write to hidden
files - and that the one (re)setting the "hidden" bit over and over
again is msysgit, whenever it checkouts such a dotfile - surely to
emulate the unix behaviour of hiding dotfiles by default.

I'm not sure who's at fault here - namely, I can't see any valid
reason for eclipse to refuse such writes, but I am not sure it is a
good reason for msysgit would set the hidden bit either.  In either
case, even if only for the short term, I think msysgit should ensure
that this bit does not get set (possibly circumventing any magic msys
would do behind its back).

Best regards,
-- 
Yann

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2009-12-14 11:40 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-08 13:28 [BUG] Bad msysgit/egit interaction over dotfiles Yann Dirson
2009-12-08 13:34 ` Erik Faye-Lund
2009-12-08 13:42   ` Ferry Huberts
2009-12-08 14:23     ` Erik Faye-Lund
2009-12-08 14:37       ` Yann Dirson
2009-12-09 20:56         ` Marius Storm-Olsen
2009-12-10  8:35           ` Yann Dirson
2009-12-14  9:13             ` Erik Faye-Lund
2009-12-14 11:45               ` Johannes Schindelin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.