From: Junio C Hamano <gitster@pobox.com>
To: Sitaram Chamarty <sitaramc@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: Is there a way to exclude user-specified files or directories from participating in merges?
Date: Wed, 18 Feb 2009 11:02:30 -0800 [thread overview]
Message-ID: <7v3aeby3eh.fsf@gitster.siamese.dyndns.org> (raw)
In-Reply-To: slrngpo3hp.boq.sitaramc@sitaramc.homelinux.net
Sitaram Chamarty <sitaramc@gmail.com> writes:
> Let me explain where I'm coming from: this is very often needed when you
> maintain customer specific branches, and the workflows in both your
> posts in this thread so far are too complex for, err, me <sheepish grin>
> :-)
>
> Would it not be easier to do something like this? (I suck at 2-d
> drawing, even line... but this should still be understandable)
What you drew is a detailed discussion on a technique to use to group
together common part and customer specific part, and I think it is Ok to
do whatever you feel comfortable with. It is essentially the same as my
"in real life, 'git diff >P.diff' is not how I would do this" example,
just going into more detail on what you would do to sift 'common only' vs
'specific to work branch' apart, and I think what you are doing is sane.
But if you wrote it as a draft of a document to explain how-to to new
people, I think you need to clarify a few things.
It is unclear in your description how the "common" branch progressed in
the whole process, and how the resulting history looks. I can guess that
you meant commits marked with alphabet letters are of common kind and
numbers are of work kind, but you do not want to force readers to guess.
It also is not quite clear that you are using a temporary branch in
addition to common and work, and where in your sequence you are doing "git
checkout" to switch branches.
next prev parent reply other threads:[~2009-02-18 19:04 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-18 0:49 Is there a way to exclude user-specified files or directories from participating in merges? Brent Goodrick
2009-02-18 1:05 ` Junio C Hamano
2009-02-18 1:32 ` Brent Goodrick
2009-02-18 1:58 ` Junio C Hamano
2009-02-18 5:39 ` Brent Goodrick
2009-02-18 1:36 ` Junio C Hamano
2009-02-18 13:33 ` Sitaram Chamarty
2009-02-18 19:02 ` Junio C Hamano [this message]
2009-02-19 13:37 ` Sitaram Chamarty
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=7v3aeby3eh.fsf@gitster.siamese.dyndns.org \
--to=gitster@pobox.com \
--cc=git@vger.kernel.org \
--cc=sitaramc@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).