git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: Martin Terra <martin.terra@koodaripalvelut.com>
To: git@vger.kernel.org
Subject: Git submodule commits
Date: Fri, 27 Jan 2023 11:32:25 +0200	[thread overview]
Message-ID: <CAN_dfT+yLpM6bgUqf8MddVSj3BuY_j3eVrsyntGKj2QoHi4YQA@mail.gmail.com> (raw)
In-Reply-To: <CAN_dfTJY6bo7dBSBJoX7nxQMKt4VwVe2gAW7SEYM4cHffySrAQ@mail.gmail.com>

Hi!

We have git repository A and B.

A depends on B.

The team working on B has no visibility to A.

However, team A has visibility to both A and B.

You can think of it as if repository B is outsourced.

Now when team A is working on features and make a change which affects
also B, ideally there would be a single (single index)
commit/pull/etc. across A and B. Ideally, there would be no duplicate
copies of artifacts, i.e., optimally something from B commits only to
B and something form A only to A (think Submodule but with ability to
commit also).

How can this be accomplished using Git or is it a missing/planned
feature in git, or is there a 3rd party tool that helps with this?
Submodule and subtree don't seem to have these capabilities, or do
they?

Currently we have these set up on cvs and committing across projects
works effortlessly, but cvs is in many other ways outdated.

Related topics:
- https://jira.atlassian.com/browse/BSERV-4577


Thanks.

**
Martin

           reply	other threads:[~2023-01-27  9:33 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <CAN_dfTJY6bo7dBSBJoX7nxQMKt4VwVe2gAW7SEYM4cHffySrAQ@mail.gmail.com>]

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

  List information: http://vger.kernel.org/majordomo-info.html

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAN_dfT+yLpM6bgUqf8MddVSj3BuY_j3eVrsyntGKj2QoHi4YQA@mail.gmail.com \
    --to=martin.terra@koodaripalvelut.com \
    --cc=git@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.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).