linux-sparse.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Christopher Li" <sparse@chrisli.org>
To: Junio C Hamano <junio@pobox.com>
Cc: linux-sparse@vger.kernel.org, Alexey Zaytsev <alexey.zaytsev@gmail.com>
Subject: Re: [PATCH v2] Add -ftabstop=WIDTH
Date: Sat, 3 Jan 2009 15:19:31 -0800	[thread overview]
Message-ID: <70318cbf0901031519w15929f58p68ff62ace683a5b0@mail.gmail.com> (raw)
In-Reply-To: <7v7i5c7g5b.fsf@gitster.siamese.dyndns.org>

On Sat, Jan 3, 2009 at 4:01 AM, Junio C Hamano <junio@pobox.com> wrote:
> "Hannes Eder" <hannes@hanneseder.net> writes:
>
>> diff --git a/lib.c b/lib.c
>> index 059ba3b..221e7b8 100644
>> --- a/lib.c
>> +++ b/lib.c
>> @@ -15,6 +15,8 @@
>>  #include <string.h>
>>  #include <unistd.h>
>>  #include <assert.h>
>> +#include <limits.h>
>> +#include <errno.h>
>
> These includes after Chris's simplification should not be needed, no?

Good catch. I incorporate it as well.

While you are here. I have a question regarding how to publish patch series
with git.

Take this patch as example. I want to have some repository to allow
others to pull the early version of the patch for testing. I also want
to incorporate
changes into the patch itself.

If I am using patch series. That is easy, just republish a new series.

With git, I can:
1) always submit incremental changes to master branch. Then the patch will
    be fragmented. I want the clean up version of the history.
2) Use rebase or cherry-pick to update the master branch. That will change
    the history of the commit. it causes trouble for people who pull the earlier
   version of the patch.
3) Always use a new branch to publish a new patch series. Then people who
   pull it need to know which branch to pull. It seems that I want an alias for
   the branch. On the client side it can use the same alias to pull different
   branch. I haven't figure out how to do that with git yet.

Any suggestions?

Thanks

Chris

  reply	other threads:[~2009-01-03 23:19 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-31 12:41 [PATCH] Add -ftabstop=WIDTH Hannes Eder
2008-12-31 15:29 ` Alexey Zaytsev
2008-12-31 20:26 ` Christopher Li
2009-01-02 14:22   ` [PATCH v2] " Hannes Eder
2009-01-03 12:01     ` Junio C Hamano
2009-01-03 23:19       ` Christopher Li [this message]
2009-01-04  9:05         ` Junio C Hamano
2009-01-07  0:37           ` Christopher Li
2009-01-08 19:18         ` [PATCH v3] " Hannes Eder
2009-01-08 20:13           ` Christopher Li
2009-01-08 20:50             ` [PATCH] refactor handle_switch_f Hannes Eder
2009-01-09  4:25               ` Christopher Li
2009-01-03 22:41     ` [PATCH v2] Add -ftabstop=WIDTH Christopher Li

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=70318cbf0901031519w15929f58p68ff62ace683a5b0@mail.gmail.com \
    --to=sparse@chrisli.org \
    --cc=alexey.zaytsev@gmail.com \
    --cc=junio@pobox.com \
    --cc=linux-sparse@vger.kernel.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 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).