From: Frank Lichtenheld <frank@lichtenheld.de>
To: Marco Costalba <mcostalba@gmail.com>
Cc: Junio C Hamano <junkio@cox.net>, Git Mailing List <git@vger.kernel.org>
Subject: Re: [PATCH] Teach 'git-apply --whitespace=strip' to remove empty lines at the end of file
Date: Sun, 20 May 2007 21:17:18 +0200 [thread overview]
Message-ID: <20070520191718.GI4085@planck.djpig.de> (raw)
In-Reply-To: <e5bfff550705201156m244e1cf0v7e6b3ab43fa3b47b@mail.gmail.com>
On Sun, May 20, 2007 at 08:56:49PM +0200, Marco Costalba wrote:
> On 5/20/07, Junio C Hamano <junkio@cox.net> wrote:
> >> if (offset >= 0) {
> >> +
> >> + if (desc->size - oldsize - offset == 0) /* end of
> >file? */
> >> + newsize -= trailing_added_lines;
> >> +
> >> int diff = newsize - oldsize;
> >> unsigned long size = desc->size + diff;
> >> unsigned long alloc = desc->alloc;
> >
> >But we have kept our sources -Wdeclaration-after-statement
> >clean so far
>
> ??????
>
> Wie bitte?
man gcc:
-Wdeclaration-after-statement (C only)
Warn when a declaration is found after a statement in a block.
Gruesse,
--
Frank Lichtenheld <frank@lichtenheld.de>
www: http://www.djpig.de/
next prev parent reply other threads:[~2007-05-20 19:17 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-20 9:51 [PATCH] Teach 'git-apply --whitespace=strip' to remove empty lines at the end of file Marco Costalba
2007-05-20 10:03 ` Junio C Hamano
2007-05-20 10:34 ` Marco Costalba
2007-05-20 11:12 ` Junio C Hamano
2007-05-20 12:45 ` Marco Costalba
2007-05-20 18:36 ` Junio C Hamano
2007-05-20 18:56 ` Marco Costalba
2007-05-20 19:16 ` Junio C Hamano
2007-05-20 20:55 ` Marco Costalba
2007-05-20 19:17 ` Frank Lichtenheld [this message]
2007-05-20 20:44 ` Marco Costalba
2007-05-21 8:59 ` Josef Weidendorfer
2007-05-21 6:57 ` Junio C Hamano
2007-05-21 11:23 ` Marco Costalba
2007-05-22 1:31 ` Junio C Hamano
2007-05-22 11:13 ` Marco Costalba
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=20070520191718.GI4085@planck.djpig.de \
--to=frank@lichtenheld.de \
--cc=git@vger.kernel.org \
--cc=junkio@cox.net \
--cc=mcostalba@gmail.com \
/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).