From: "Shawn O. Pearce" <spearce@spearce.org>
To: Johannes Sixt <johannes.sixt@telecom.at>
Cc: git@vger.kernel.org
Subject: Re: MinGW port - initial work uploaded
Date: Fri, 19 Jan 2007 22:31:49 -0500 [thread overview]
Message-ID: <20070120033149.GB11200@spearce.org> (raw)
In-Reply-To: <200701192148.20206.johannes.sixt@telecom.at>
Johannes Sixt <johannes.sixt@telecom.at> wrote:
> I've been working on a MinGW port for some time now. I've pushed out what I
> have so far to a git.git fork at repo.or.cz. For details on how and what to
> clone, please look at the top of
Can I make a few suggestions?
Base your branch on Junio's 'master', not 'next'. This looks like
its going to be a fairly long-running topic with a large number
of commits. It will be easier to convince Junio to pull the topic
in if its based solely on 'master' than if its based on 'next'.
I made the mistake of building my git-fast-import topic on top of
'next' back in Aug. 2006. Its still going and has not yet merged
into git.git. I finally went through the pain of rebasing it onto
'master' to make the merge easier for Junio post 1.5.0. Of course
gfi is also less intrusive than this topic will be.
The other is maybe try to avoid:
#ifndef __MINGW32__
...
#endif
instead try to use something like:
git-compat-util:
#ifdef __MINGW32__
#define is_mingw32 1
#else
#define is_mingw32 0
#endif
everywhere else:
if (is_mingw32) {
}
This way the code within the block can be syntax checked, etc. on
non-MinGW platforms but will be removed by the compiler on those
non-MinGW systems. I just went through trying to do a #ifndef thing
for Windows (1510fea7 in git.git, aka the NO_FAST_WORKING_DIRECTORY
flag) and Junio rightly rejected my first attempt which used #ifndef,
and instead used something like the above.
--
Shawn.
next prev parent reply other threads:[~2007-01-20 3:31 UTC|newest]
Thread overview: 53+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-19 20:48 MinGW port - initial work uploaded Johannes Sixt
2007-01-19 22:47 ` Christian MICHON
[not found] ` <20070119234816.235726@dial-up-mi-89.lombardiacom.it>
2007-01-19 23:53 ` Michael
2007-01-20 3:31 ` Shawn O. Pearce [this message]
2007-01-20 9:24 ` Johannes Schindelin
2007-01-20 20:05 ` Johannes Sixt
2007-01-20 20:21 ` Christian MICHON
2007-01-22 13:06 ` Christian MICHON
2007-01-22 16:39 ` Linus Torvalds
2007-01-22 22:25 ` Christian MICHON
2007-02-08 8:17 ` H. Peter Anvin
2007-02-08 14:06 ` Christian MICHON
2007-02-08 17:22 ` H. Peter Anvin
2007-01-23 11:25 ` Johannes Schindelin
2007-01-23 13:08 ` Christian MICHON
2007-01-23 14:17 ` Johannes Schindelin
2007-01-23 15:37 ` Linus Torvalds
2007-01-23 15:45 ` Alex Riesen
2007-01-23 15:52 ` Johannes Schindelin
2007-01-23 15:56 ` Alex Riesen
2007-01-23 16:00 ` Johannes Schindelin
2007-01-23 15:53 ` Shawn O. Pearce
2007-01-23 15:49 ` Johannes Schindelin
2007-01-24 7:12 ` Nguyen Thai Ngoc Duy
2007-01-24 10:17 ` Johannes Schindelin
2007-01-24 16:42 ` Linus Torvalds
2007-01-24 21:08 ` Christian MICHON
2007-02-08 17:18 ` H. Peter Anvin
2007-01-22 20:27 ` Johannes Sixt
2007-01-22 22:20 ` Christian MICHON
2007-01-23 8:31 ` Christian MICHON
2007-01-23 11:32 ` Johannes Schindelin
2007-01-23 12:06 ` Jakub Narebski
2007-01-23 15:29 ` Shawn O. Pearce
2007-01-23 13:12 ` Christian MICHON
2007-01-23 14:18 ` Johannes Schindelin
2007-01-23 18:55 ` Christian MICHON
2007-01-23 19:18 ` Johannes Schindelin
2007-01-23 19:28 ` Johannes Schindelin
2007-01-23 13:22 ` Andy Parkins
2007-01-23 14:21 ` Johannes Schindelin
2007-01-23 15:06 ` Andy Parkins
2007-01-23 15:20 ` Johannes Schindelin
2007-01-23 16:24 ` Andy Parkins
2007-01-23 16:37 ` Johannes Schindelin
2007-01-23 17:02 ` Linus Torvalds
2007-01-23 17:07 ` Johannes Schindelin
2007-01-24 1:44 ` Junio C Hamano
2007-01-24 1:57 ` Johannes Schindelin
2007-01-24 5:05 ` Junio C Hamano
2007-01-24 10:24 ` Johannes Schindelin
2007-01-23 13:36 ` Nguyen Thai Ngoc Duy
2007-01-23 14:15 ` Johannes Schindelin
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=20070120033149.GB11200@spearce.org \
--to=spearce@spearce.org \
--cc=git@vger.kernel.org \
--cc=johannes.sixt@telecom.at \
/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).