All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Levedahl <mlevedahl@gmail.com>
To: Junio C Hamano <gitster@pobox.com>
Cc: spearce@spearce.org, dpotapov@gmail.com, git@vger.kernel.org
Subject: Re: [PATCH] compat/cygwin.c - Use cygwin's stat if core.filemode == true
Date: Mon, 13 Oct 2008 00:31:53 -0400	[thread overview]
Message-ID: <48F2CF39.5040000@gmail.com> (raw)
In-Reply-To: <7vd4i5fkny.fsf@gitster.siamese.dyndns.org>

Junio C Hamano wrote:
> I was wondering if git_cygwin_config() was originally written not to call
> git_default_config() because some command implementations do not to want
> to call git_default_core_config() (and/or read trust_executable_bit
> variable from the configuration) for some reason (which would be just
> hiding bugs in other parts of the system, I suspect).
>
> If that is the case, we would have to fix such broken parts of the system,
> but until that happens your original patch to use a separate variable and
> keeping trust_executable_bit untouched would be much safer than this
> latest patch.  Hence the question.
>   
I was worried about altering the startup code, which is why I tried to 
introduce as little change as possible. However, having rewritten the 
patch using git_default_config() everything seems fine (the testsuite 
passes, or at least as well as it usually does under Cygwin, and I 
assume that is sufficient as this is Cygiwn specific). So, that patch 
follows.

Mark

  reply	other threads:[~2008-10-13  4:33 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-11 18:54 [PATCH] compat/cygwin.c - Use cygwin's stat if core.filemode == true Mark Levedahl
2008-10-11 19:04 ` Mark Levedahl
2008-10-11 21:34   ` Junio C Hamano
2008-10-11 22:56     ` Mark Levedahl
2008-10-12 13:39       ` Dmitry Potapov
2008-10-12 18:44         ` Mark Levedahl
2008-10-12 19:35           ` Junio C Hamano
2008-10-12 20:23             ` Mark Levedahl
2008-10-12 23:39               ` Junio C Hamano
2008-10-13  4:31                 ` Mark Levedahl [this message]
2008-10-13  4:33                 ` Mark Levedahl

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=48F2CF39.5040000@gmail.com \
    --to=mlevedahl@gmail.com \
    --cc=dpotapov@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.com \
    --cc=spearce@spearce.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 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.