From: Johannes Sixt <j6t@kdbg.org>
To: Pat Thoyts <patthoyts@users.sourceforge.net>
Cc: msysgit@googlegroups.com, git@vger.kernel.org,
Junio C Hamano <gitster@pobox.com>,
Johannes Schindelin <Johannes.Schindelin@gmx.de>
Subject: Re: [msysGit] Pull request for msysGit patches
Date: Tue, 28 Sep 2010 22:52:25 +0200 [thread overview]
Message-ID: <201009282252.25688.j6t@kdbg.org> (raw)
In-Reply-To: <87ocbitd33.fsf@fox.patthoyts.tk>
On Dienstag, 28. September 2010, Pat Thoyts wrote:
> Junio,
>
> The msysGit tree currently tracks some 50+ patches on top of 'next'. I
> have gathered 42 of these that look good to move upstream.
> Please pull from
> git://repo.or.cz/git/mingw/4msysgit.git work/pt/for-junio
> also visible for inspection at
>
> http://repo.or.cz/w/git/mingw/4msysgit.git/shortlog/refs/heads/work/pt/for-
>junio
Thanks for picking up the baton.
I've browsed through the list, and I'll annotate my opinion below. When I
say 'OK', then this means that the patch looks good, but it doesn't imply
that I have tested it.
> Eric Sunshine (6):
> Fix 'clone' failure at DOS root directory.
> Fix Windows-specific macro redefinition warning.
> Add MinGW-specific execv() override.
> Side-step MSYS-specific path "corruption" leading to t5560 failure.
> Side-step sed line-ending "corruption" leading to t6038 failure.
These 5 are OK.
> Side-step line-ending corruption leading to t3032 failures.
This one has non-portable 'export foo=bar', but it is in a MinGW specific
path, so it should be fine. But why do we need to export GREP_OPTIONS, but
not SED_OPTIONS?
> Erik Faye-Lund (6):
> core.hidedotfiles: hide '.git' dir by default
This one was heavily disputed. Contrary to the subject line, the patch hides
not only .git, but all dot-files. I'm not exactly a friend of this behavior.
To hide only .git is OK, but every dot-file? The default setting of
core.hidedotfiles should be different, IMO.
The subject line must be fixed, and unlike Erik's claim in a post earlier this
week on the msysgit list, mingw_freopen blows up if filename ever happens to
be NULL when core.hidedotfiles is true.
> mingw: do not hide bare repositories
OK if it is decided that the above goes in; but could also be squashed.
> mingw: fix st_mode for symlink dirs
This is a fix of Pat's "fix mingw stat...for handling symlinks" and should be
squashed into that one.
> send-email: accept absolute path even on Windows
I'm neutral. I don't use send-email.
> config.c: trivial fix for compile-time warning
This is a fix for Dscho's getenv("HOME") patch and must be squashed -
otherwise the commit message references a non-existent commit.
> mingw: do not crash on open(NULL, ...)
This one is bogus, and as it stands, it must have my Ack removed. :) Needs the
same fix in mingw_fopen as mingw_freopen. (There remains an unprotected
dereference of filename.)
> Heiko Voigt (4):
> mingw: move unlink wrapper to mingw.c
OK, whether or not the next patch goes in.
> mingw: work around irregular failures of unlink on windows
The workaround is to retry the unlink() after a delay when it failed with
EACCES. What happens if the EACCES is for a good reason? Doesn't this delay
the process by 71ms per unlink() invocation? Can't this become a problem if
many unlink()s are tried by git code?
> mingw: make failures to unlink or move raise a question
Gaah! But people seem to like it. Since the question is only triggered after
all retries fail, I can live with this.
But isn't the implementation a bit sloppy? Can strlen(answer)-2 be negative?
What happens if the user typed more than 4 characters? Wouldn't it leave data
in the buffer for the next question?
> mingw: add fallback for rmdir in case directory is in use
Depends on the previous patch. OK.
> Johannes Schindelin (11):
> Avoid TAGS/tags warning from GNU Make
OK.
> When initializing .git/, record the current setting of
> core.hideDotFiles
I'm neutral on this one. The commit message does not say why the change is
needed.
> git-am: fix absolute path logic on Windows
This mistakes a file that has a colon in the second position as absolute, even
on non-Windows. IIUC, this patch is not intended for upstream git.
> mingw_rmdir: set errno=ENOTEMPTY when appropriate
OK. Good catch!
> Add a Windows-specific fallback to getenv("HOME");
Introduces get_home_directory(). I'm a bit worried that it leaks the string
that it constructed.
> Tests: make sure that $DIFF is non-empty
Hasn't this been fixed in upstream already?
> merge-octopus: Work around environment issue on Windows
This works around MSYS DLL's "feature" to uppercase all environment variables.
This destroys the original names GITHEAD_$SHA1.
There is a small typo in the second range argument of the tr invocation: it
should be: tr a-z A-Z
> Make sure that git_getpass() never returns NULL
This is not Windows specific. OK.
> Give commit message reencoding for output on MinGW a chance
This is a change in log-tree.c, but has an effect only on Windows. OK.
> Fix typo in pack-objects' usage
OK.
> Fix compile error on MinGW
This has been fixed in a different way in upstream. Please eject this patch.
> Johannes Sixt (1):
> criss cross rename failure workaround
The patch text is OK, but I should really write a better commit message...
> Karsten Blees (4):
> Enable color output in Windows cmd.exe
This makes it so that "winansi" is return by getenv("TERM") when TERM is not
set in the environment. What are the implications? It won't affect me because
I've set TERM=cygwin. I'm neutral.
> Support Unicode console output on Windows
I'm negative on this one because I think it will be a regression for me.
It assumes that all text written to the console is UTF8. I don't think that
this is a generally valid assumption. It might be for msysgit, but not when
git on Windows is used outside the msysgit bash or without the git.cmd
wrapper.
> Detect console streams more reliably on Windows
Looks good. OK.
> Warn if the Windows console font doesn't support Unicode
Might be a good idea. The warning appears only when multi-byte characters are
printed. I can't tell how this behaves in non-western locales.
Depends on the Unicode console output patch above.
> Pat Thoyts (6):
> Skip t1300.70 and 71 on msysGit.
> fix mingw stat() and lstat() implementations for handling symlinks
> Report errors when failing to launch the html browser in mingw.
These 3 are OK.
> mingw: add tests for the hidden attribute on the git directory
The tests of the non-bare repository should be marked expect_failure or be
squashed into the core.hidedotfiles patch.
> Do not strip CR when grepping HTTP headers.
export foo=bar again. Is it necessary to export GREP_OPTIONS?
> Skip 'git archive --remote' test on msysGit
OK, though the failure is not due missing git daemon support, but because we
do not have fork().
> Sebastian Schuberth (2):
> MinGW: Use pid_t more consequently, introduce uid_t for greater
> compatibility
OK.
> MinGW: Add missing file mode bit defines
OK, why not. It is not strictly necessary, I think, otherwise I would observe
build failures, but I do not.
> bert Dvornik (2):
> mingw: Don't ask the user yes/no questions if they can't see the
> question.
Should be squashed into the ask-yes-no patch.
> send-email: handle Windows paths for display just like we do for
> processing
I'm neutral. The solution is analogous to the git-am patch above, but slightly
more restrictive.
-- Hannes
next prev parent reply other threads:[~2010-09-28 20:52 UTC|newest]
Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-28 9:46 Pull request for msysGit patches Pat Thoyts
2010-09-28 19:10 ` Junio C Hamano
2010-09-28 21:11 ` [msysGit] " Johannes Sixt
2010-09-29 3:41 ` Junio C Hamano
2010-09-28 21:23 ` Ævar Arnfjörð Bjarmason
2010-09-30 22:15 ` Pat Thoyts
2010-09-30 22:52 ` Ævar Arnfjörð Bjarmason
2010-09-30 23:27 ` Erik Faye-Lund
2010-09-29 2:01 ` [msysGit] " Eric Sunshine
[not found] ` <7vbp7hrzhb.fsf@alter.siamese.dyndns.org>
2010-09-29 3:54 ` Eric Sunshine
2010-09-29 22:22 ` msysGit patches for upstream Pat Thoyts
2010-09-29 23:02 ` Junio C Hamano
2010-09-29 22:22 ` [PATCH 1/2] Make sure that git_getpass() never returns NULL Pat Thoyts
2010-09-29 22:22 ` [PATCH 2/2] Fix typo in pack-objects' usage Pat Thoyts
2010-09-28 20:52 ` Johannes Sixt [this message]
2010-09-28 20:58 ` [msysGit] Pull request for msysGit patches Erik Faye-Lund
2010-09-28 21:13 ` Johannes Sixt
2010-09-28 21:20 ` Erik Faye-Lund
2010-09-28 21:35 ` Erik Faye-Lund
2010-09-28 21:08 ` Jonathan Nieder
2010-09-29 17:51 ` Junio C Hamano
2010-09-29 22:29 ` Pat Thoyts
2010-09-29 2:23 ` Eric Sunshine
2010-09-29 3:37 ` Junio C Hamano
2010-09-29 4:17 ` Eric Sunshine
2010-09-30 13:24 ` [PATCH] git-am: fix detection of absolute paths for windows Pat Thoyts
2010-10-01 17:46 ` Johannes Sixt
2010-09-30 13:24 ` Pat Thoyts
2010-11-07 14:56 ` [PATCH v2 0/4] make open/unlink failures user friendly on windows using retry/abort Heiko Voigt
2010-11-07 15:49 ` Johannes Sixt
2010-11-07 17:06 ` Heiko Voigt
2010-11-07 19:11 ` Johannes Sixt
2010-11-07 14:56 ` [PATCH v2 1/4] mingw: move unlink wrapper to mingw.c Heiko Voigt
2010-11-07 14:56 ` [PATCH v2 2/4] mingw: work around irregular failures of unlink on windows Heiko Voigt
2010-11-07 14:56 ` [PATCH v2 3/4] mingw: make failures to unlink or move raise a question Heiko Voigt
2010-11-07 14:56 ` [PATCH v2 4/4] mingw: add fallback for rmdir in case directory is in use Heiko Voigt
2010-09-29 6:11 ` Pull request for msysGit patches yj2133011
2010-09-29 20:48 ` Ramsay Jones
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=201009282252.25688.j6t@kdbg.org \
--to=j6t@kdbg.org \
--cc=Johannes.Schindelin@gmx.de \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=msysgit@googlegroups.com \
--cc=patthoyts@users.sourceforge.net \
/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).