git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [BUG] Bad msysgit/egit interaction over dotfiles

From
Marius Storm-Olsen <mstormo@gmail.com>
Date
Dec 9, 2009, 20:56 UTC
Message-ID
<4B200EF5.2060606@gmail.com>
In-Reply-To
<20091208143700.GC5425@linagora.com>
Yann Dirson said the following on 08.12.2009 15:37:
Show 15 quoted lines
> On Tue, Dec 08, 2009 at 03:23:55PM +0100, Erik Faye-Lund wrote:
>> You can follow the discussion here:
>> http://code.google.com/p/msysgit/issues/detail?id=288
>>
>> I believe the reason is something like "because someone suggested
>> it, and no one disagreed". Do you have a good argument why it
>> shouldn't be the default (other than "it's a change", because
>> changing it back now would also be a change)?
>
> Depending on the opinion of the Eclipse guys on this issue about
> "writing to hidden files only says 'could not write'", which
> arguably could be seen as a bug on their side, we can see changing
> this behaviour back to the default on the msysgit side as either a
> (possibly temporary) workaround for a known eclipse bug, or as
> getting again interoperable with egit.

Dot-files on unix are considered hidden. It's the only way files are hidden there. Not so on Windows. Dot-files are just like any normal file, and you need to mark a file hidden.

So, the logic of egit, that *actually* hidden files should not be written to, but dot-files should, seems to me to be a bug in egit. There should be no reason why egit shouldn't be able to write to any file, pending permissions. I'd say file a bug report with egit.

-- .marius

Previous: Yann DirsonNext: Yann Dirson
Message 6 of 9 in “[BUG] Bad msysgit/egit interaction over dotfiles”
  1. Yann DirsonDec 8, 2009
  2. Erik Faye-LundDec 8, 2009
  3. Ferry HubertsDec 8, 2009
  4. Erik Faye-LundDec 8, 2009
  5. Yann DirsonDec 8, 2009
  6. Marius Storm-OlsenDec 9, 2009
  7. Yann DirsonDec 10, 2009
  8. Erik Faye-LundDec 14, 2009
  9. Johannes SchindelinDec 14, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.