From: Junio C Hamano <gitster@pobox.com>
To: Steffen Prohaska <prohaska@zib.de>
Cc: git@vger.kernel.org
Subject: Re: [PATCH] Use is_absolute_path() in diff-lib.c, lockfile.c, setup.c, trace.c
Date: Sun, 25 Nov 2007 19:54:48 -0800 [thread overview]
Message-ID: <7vy7clhd9z.fsf@gitster.siamese.dyndns.org> (raw)
In-Reply-To: <11960297431954-git-send-email-prohaska@zib.de> (Steffen Prohaska's message of "Sun, 25 Nov 2007 23:29:03 +0100")
Steffen Prohaska <prohaska@zib.de> writes:
> Using the helper function to test for absolute paths makes porting easier.
These probably make sense. I obviously do not see any downside from the
POSIX side, and can imagine that treating "C:\" prefix as "absolute
paths" at these four places will not have any ill effect on the Windows
side (IOW, the codepaths that follow these four places seem to do a
sensible thing even if the "absolute path" prefix is not a single '/',
but would work fine as-is).
I am a bit surprised that there are only four places you needed to
touch, though.
> BTW, what happend to the msysgit related patches:
>
> [PATCH 1/3] sha1_file.c: Fix size_t related printf format warnings
> [PATCH 2/3] builtin-init-db: use get_git_dir() instead of getenv()
>
> I never received comments about them, nor do I find them on pu.
Lack of comments was probably due to mixture of bad timing and general
lack of interests. Many people are busy working on their turkeys than
hacking this time of the year ;-)
I am reluctant to queue msysgit/gitwin related patches without seeing
positive comments from other people involved on the Windows side, unless
they are trivial and obvious improvements.
* [1/3] seems without harm but on the other hand does not seem so
urgent either.
* [2/3] may introduce chicken-and-egg problem (use of get_git_dir()
inside git-init feels quite iffy, as it calls setup_git_env(), which
does repository discovery), without an obvious and clear advantage.
For these reasons, both of them disqualify from being trivial and
obvious improvements, so I did not pick them up unilaterally before
seeing positive comments from other people.
next prev parent reply other threads:[~2007-11-26 3:55 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-25 22:29 [PATCH] Use is_absolute_path() in diff-lib.c, lockfile.c, setup.c, trace.c Steffen Prohaska
2007-11-26 3:54 ` Junio C Hamano [this message]
2007-11-26 6:45 ` Steffen Prohaska
2007-11-26 7:45 ` Johannes Sixt
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=7vy7clhd9z.fsf@gitster.siamese.dyndns.org \
--to=gitster@pobox.com \
--cc=git@vger.kernel.org \
--cc=prohaska@zib.de \
/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).