From: "Catalin Marinas" <catalin.marinas@gmail.com>
To: "Yann Dirson" <ydirson@altern.org>
Cc: "GIT list" <git@vger.kernel.org>
Subject: Re: Handling of branches in stgit
Date: Fri, 1 Dec 2006 12:42:19 +0000 [thread overview]
Message-ID: <b0943d9e0612010442gf7bf2ccr8995967403788fe7@mail.gmail.com> (raw)
In-Reply-To: <20061130000038.GA13324@nan92-1-81-57-214-146.fbx.proxad.net>
On 30/11/06, Yann Dirson <ydirson@altern.org> wrote:
> I have started to work on recording parent information for stgit
> branches, so we don't need to give the same info on every "git pull".
Isn't this what the branch.<name>.remote configuration option is for?
I think we should leave GIT handle this and StGIT only invoke "git
pull" without any arguments.
> I'm facing a problem, in that we have several kind of stgit branches:
>
> * those created against a cogito branch (eg. by "cg clone" and "stg
> init"). They work pretty much intuitively (and it happens I mostly
> used this flavour before those tests). All we need is the name of
> the local branch, and "stg pull <branch>" relies on "git fetch" to
> find the repository information in .git/branches/<branch>.
But I think .git/branches got deprecated or it is a cogito-only feature.
> In this case, it is easy to request pulling from any branch, but
> usually only one of them is what you want, and the results of using
> another one (or forgetting to specify the one you want) can be
> annoying [ISSUE 1]. Hence this work of mine: being able to store
> this info in .git/patches/<stack>/parent (my initial implementation)
> was sufficient in theory.
I would leave this to GIT and its configuration files. Do you see any
problems with this approach?
I plan to merge the stgit config with the git one (and have a [stgit]
section) so that it is more maintainable.
--
next prev parent reply other threads:[~2006-12-01 12:42 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-30 0:00 Handling of branches in stgit Yann Dirson
2006-12-01 12:42 ` Catalin Marinas [this message]
2006-12-01 22:19 ` Yann Dirson
2006-12-05 22:51 ` Yann Dirson
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=b0943d9e0612010442gf7bf2ccr8995967403788fe7@mail.gmail.com \
--to=catalin.marinas@gmail.com \
--cc=git@vger.kernel.org \
--cc=ydirson@altern.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