🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.git
Article #4073

[Question] vendor branching within the Git project?

#4073
From: Alexander Duytschaever
Date: Sun, 29 Nov 2026 16:41
33 lines
12318 bytes
Hello,

In Documentation/technical/unit-tests.adoc [1] I find this phrase:
"... we can copy their source directly into Git's repository) ...".
I assume the vendor branching pattern has been considered but I don't
see any in Git.

1/ Has it ever been considered?

2/ Is there any intention to support the concept at a deeper level,
beyond "git subtree"? IMHO many projects hit the question "how to I
version external content?" and often "the copy-paste solution" is
adopted, while the vendor branch approach might improve things.
Submodules might work for vendors that use Git, but how to deal with
"alien" vendors?

I have a feeling that vendor branching is a fundamental concept that
all VCS face; and after CVS (which has explicit support for VB) it
feels like the concept has been dropped. I've tried to get a better
view at [2], for the interested (feedback welcome).

3/ At the same time, it feels like VB cannot be used in other than
small/trivial projects. (Anyone an idea where it is used in a larger
project?)

thx

-alex-


[1] https://github.com/git/git/blob/acba8bf9753134d9bde89f94369f775838a8c5fe/Documentation/technical/unit-tests.adoc?plain=1#L92-L94
[2] https://github.com/axd1967/vendor-branching/blob/master/NOTES.md#fundamental-vcs-issue
Technical Details
Message-ID: <CAF9aBsNbTehAgB7nemzzgn8JTq96auz7gTUE06Dvbq5c47pZyg@mail.gmail.com>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!git+bounces-76628-linux-kernel-git=dewy.ru

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!git+bounces-76628-linux-kernel-git=dewy.ru
From: alexander.duytschaever@gmail.com (Alexander Duytschaever)
Newsgroups: linux.kernel.git
Subject: [Question] vendor branching within the Git project?
Date: Sun, 29 Nov 2026 17:41:24 +0100
Organization: Usenet Network
Message-ID: <CAF9aBsNbTehAgB7nemzzgn8JTq96auz7gTUE06Dvbq5c47pZyg@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Injection-Info: usenet.network;
	logging-data="1213182"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:b5YZQZdIhJH8nhgDjMgpTOO/4x8= sha256:tKJMhDIapVFTbruEV26CFOCh0t1GOE1QAKNSIAZyJIk=
	sha1:d1xzE6BWEY00HCnkDesyQWye5W4= sha256:Vs0HiPCUZKZRXv/vrWnLShHFM4EAmlnaewzmzVQAKvc=
List-ID: <git.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
	by mail.dewy.ru (Postfix) with ESMTP id A97B4125F9A; Sun, 29 Nov 2026 19:42:20 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -2.049
X-Spam-Status: No, score=-2.049 tagged_above=-9999 required=6.31
	tests=[DCC_CHECK=1.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
	DKIM_VALID_AU=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.001,
	FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249,
	MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001,
	SPF_PASS=-0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
	header.d=gmail.com
X-Received: from mail.dewy.ru ([127.0.0.1])
	by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 32IRGChKwcgK;
	Sun, 29 Nov 2026 19:42:16 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=git+bounces-76628-linux-kernel-git=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=gmail.com
X-Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114])
	by mail.dewy.ru (Postfix) with ESMTPS id 9109B125F99; Sun, 29 Nov 2026 19:42:06 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by tor.lore.kernel.org (Postfix) with ESMTP id A0F702286F; Sun, 29 Nov 2026 16:42:04 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=3; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1795970522;
	b=qhggcA9iPgvz+PKUdGQfrenrNLyG1to5Cjfcf20aoD1urdhykwrx4Gpa4uAwBOjqWCwI
	 HPHr2C1mKpWC+kGWUXFxRdSfgXpdRy0/lwlD/Olsfy0iBIoowBmxS7mxFLyd7fobZFuRF
	 k+h1SnptgpxrBKkHfTdU0Gzyxv/7zqEwuNdwjt2ZHNgEJnRpur+95ubAeVOBDJt4O3zS3
	 FVGBPj1XaWL6TnIQoqqavYFcGwlRQJ/K7tylIau5WRf4PmtJEVCXbXtKm/2cB9m/U8ite
	 MKWUSDLKZ9akJft6toykW0DavVm2UouvK8TP0Q5Bp9Y5BezETq+9MwGtBn1ItQM2iWQ==
X-ARC-Message-Signature: i=3; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795970522;
	h=X-Original-To:Received:DMARC-Filter:Received:DKIM-Signature:
	 X-Google-DKIM-Signature:X-Gm-Message-State:X-Gm-Gg:X-Received:
	 X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe:
	 List-Unsubscribe:List-Owner:Precedence:MIME-Version:From:Date:
	 X-Gm-Features:Message-ID:Subject:To:Content-Type;
	bh=4nFDo55ApHMEvvCZ0Zjp17wNxhtfMr0iHhNKKlifQ3o=;
	b=0yGa5lnxmnA+V/aUzQ2uf5OXeVq6BzaqwBsR/RTq40SUoRpujA5igMAzNyUuHYT3wEzM
	 kR81eb+CtoIeNgq3wuhvAfgu2Mu3i+BHhULkn/Itb4ZKmHP5P3VcBAHZbl5MbWPfW9wh6
	 RN1spfqd+qDG2uNBkV+adQ3L1+xP+eazH9QgL593gVEN1jy+CC8bdfbuCGxnYga2bWNF9
	 lrVeos8a0k2xv57AiDiyliwSSnoCcdN74I7ONsVZYLh1tyU70ProjpyQeKQeoP8+ezyZs
	 fjuxmLIDkfNCtqznoscwq2u5zsTIIm+VZn7yP0v8+061OgcryleyH7tKyoBatX6bAFg==
X-ARC-Authentication-Results: i=3; smtp.subspace.kernel.org; 
	dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=U0fOOf4z;
	dmarc=pass header.from=gmail.com;
	spf=pass smtp.mailfrom=gmail.com;
	arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id 8C573606A32C;
	Sun, 29 Nov 2026 16:42:02 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=U0fOOf4z
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=74.125.224.50
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1795970521;
	b=3R4U7EGh7rwLHdddwJDnRltl977UL8pxAQueWh2H/cTY2pnoSUwXEf/DisnxSZCQSIR4
	 oxMfMk4yGgvG3PEOTIDdK7A3hzTvrQIVZEb8oxzo5DTvR6kv6KhYQOjEel1l9yjTkHVj7
	 Yws1ZFiZwBxADXgVvKwIOO2tqgNCBJdiKXNv9t6OgF6/7pn+4SugFUzwqbs6kNBnF0Qyw
	 gO8kelD+z0M2OFUoblUVK6HDriI3HQ+DF6wYbnh59NMnM6VgjLWGQlTtQg6lQgfapf8Wb
	 qmsAnXwKuQQegrvZljfL9chgDzjjBRKxpeewiPA11RvLu8nN7OIdUe8hGeJuyWJEs7Q==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795970521;
	h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature:
	 X-Gm-Message-State:X-Gm-Gg:X-Received:MIME-Version:From:Date:
	 X-Gm-Features:Message-ID:Subject:To:Content-Type;
	bh=4nFDo55ApHMEvvCZ0Zjp17wNxhtfMr0iHhNKKlifQ3o=;
	b=nlyRscX4g7XyTquYTn78jRS5zVXuE2sMuvn04+DKHp8D+HhGYyWtXbdKj6fJx/M0Z9vw
	 FiBcM/WhBZRw//kYazkrPX0mWE/ZC3wYxBD8hEN5a1AWliM6CrXn7y4quOtKuVeNoCHmZ
	 mBGARl/JzG5jU7HOiaphqN060DqIZ9e8pMPA2YNfM4AbVg1weHGYVw8H5PSzK8uG8CRsD
	 2wFssq3Zm4BGk559LX6VK7hLAfrGzQjMRUMIjO7sjAjaAeDhrRha66HSVKOkcTdxfi/DV
	 SdaUW1+IvwHv0s8l+fPN4rM0g5CgyQKpzgTwGOQb7VC/1PGSZcyxAINs83qWFAfFzUQ==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dmarc=pass header.from=gmail.com;
	spf=pass smtp.mailfrom=gmail.com;
	dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=U0fOOf4z;
	arc=pass header.oldest-pass=0 smtp.remote-ip=74.125.224.50
X-Received: from mail-yx1-f50.google.com (mail-yx1-f50.google.com [74.125.224.50])
	(using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256)
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5ACAA606A31C
	for <git@vger.kernel.org>; Sun, 29 Nov 2026 16:42:01 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 5ACAA606A31C
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com
X-Received: by mail-yx1-f50.google.com with SMTP id 956f58d0204a3-675617e81f9so11018085d50.3
        for <git@vger.kernel.org>; Sun, 29 Nov 2026 08:42:01 -0800 (PST)
X-ARC-Seal: i=1; a=rsa-sha256; t=1795970520; cv=none;
        d=google.com; s=arc-20260327;
        b=AFaVW+KUTse8GZdnvuzJy2HbzWt+2/V4M0Q2ylo7xtbBl5zd5PuKZ7WKNtx8sa7CiL
         m4RCi25SGmd1o/8yeLQfaJjMtmYvkc7ATIAs0EKI3ZY61KjGcODm38G74HXt0ZUyLZn+
         VnnL4hmthV2gWS0/7FUiCt1YUQJ4sPQJPbgtkoTwjaebHTOIw9MB2p7nMvWJ15k27HzK
         ZkiRuHeUasvjszY6SETjuZqdId0rR05Hdh3mDeJ51j8fCJQVrAbfANXLLmLrple/OWis
         9F+x5k6W72kvX6nGr5M4Kr7hhW6EZj0c0E2GXmOR0jfyCiH+btgFYo8m3uEr6jk7MAPG
         Sbzw==
X-ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327;
        h=to:subject:message-id:date:from:mime-version:dkim-signature;
        bh=4nFDo55ApHMEvvCZ0Zjp17wNxhtfMr0iHhNKKlifQ3o=;
        fh=AdLvfp5rDLFEqEXBqPWoMWgsTSDK6pd8NZNu0VEubK4=;
        b=fBqqSUp0HUjIFZIfxwbM8aOiROOC2T++pRftsNcQJgTCtnK7U841GNZz2W8btZ4XIb
         nF1/lGIkc1+W/W0VTetv93YsuOR49W1L3jBKv3Df7xt5o21KgGRtwlHhU3Dg8X4FhtFG
         Z8AWE4YUlohnMMR/bF1ClmmrhMXH/mK0lkalnjpcF56jMoPDeh26MOimR1jYOqfWGQKH
         DAf6hJu2KPv6sifxDCjcMhRY/J5f353qpPBPujvp2qx8Hre29n8zDqIJbq3hn+au0+Py
         Wja77kKHXqs6Wu7jfWxVBVmwr4f+caXveEidKINSmsWuUfg316FXCNdEFa68++C1synL
         tF7Q==;
        darn=vger.kernel.org
X-ARC-Authentication-Results: i=1; mx.google.com; arc=none
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20260707; t=1795970520; x=1796575320; darn=vger.kernel.org;
        h=content-type:to:subject:message-id:date:from:mime-version:from:to
         :cc:subject:date:message-id:reply-to:content-type;
        bh=4nFDo55ApHMEvvCZ0Zjp17wNxhtfMr0iHhNKKlifQ3o=;
        b=U0fOOf4zC+JLUEzuO9CULdSLwgC4qCUMwTzrf36mtW2C+soDjQV/OtQxDMPyTTqpUI
         pVSDE27F68VKf7thwbptOK4lv1MpmvYIoXsElZLwsWhvG76Z+5AXUwhdLsaVKZB0Kvs6
         3cLuz+aTkqSjcgn3T7KQEoo2i70hMrpt4I0EVZliNeMjEQehUVpg24HgDV++akbkuh0f
         Ui2GsfpMgkDmkBJE70M38v7qyM0iY27szz9sHynqdkaNrvQX+cSoC0dgqJpWNbQkMEMh
         NNDZ5E5hF/DlK5Wd5Iv+T8IsD6+N4DfaTSRqjWyBG/EL4gmX2Pp9gy1dEft3mh/Wte7u
         eYOQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20260707; t=1795970520; x=1796575320;
        h=content-type:to:subject:message-id:date:from:mime-version:x-gm-gg
         :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to
         :content-type;
        bh=4nFDo55ApHMEvvCZ0Zjp17wNxhtfMr0iHhNKKlifQ3o=;
        b=rUyyVMODHvezY+pVbvhWRHqPNptLtxixGHUy8Twuq/u/bY4aRT5MGQFfreuxouaRC6
         lXZuh6w56w6vEyBLgHRHzUDZCuh9CDhX5lXxwlOcms64dJ9Dp/KJd9rIMNm9ePBBZi8w
         dw4KesdYVf0iQ656omT2abC13q2Cr6ClpAR/cgc1bIdKOv2HE3ErVH4MYYohk7QY5AYc
         vzgHeEgvvUiYfLnoUMrxzGai7vf8zF1FiuRz5XANT8nNA/N42nbGkiYqvy2ZZL6VvJrW
         1LFI/2z0TrESk9Rpbv7zojQX/psFdES1UpQc/m6fOf1uVOH2iwbvHgKAhPAaytA05Rdu
         Hz7A==
X-Gm-Message-State: APuU4Z9tsE1qZ3MFTYGVG32EE7iX/A7uCQJbAKbNa8yNEOrl+8+Pag6k
	xXTXlMZGJRT2eeiaVHLMA7nrclkGyFErcpYA59AtBtv7TBUxzjHReiN83phsFI6iOZDmRT75g+T
	/MzL6MooMqlgYoTGZHr47SHC1XoVAWzYc/5kN
X-Gm-Gg: AZFdTZfp6M5mSm+6qEsTQMpXkEtgAhnAHy0AFAN6YQi9GJ61GQuCy4BTF7sIyhC/I5q
	O82/MgjtnNNL1QCh//x11vOM2+FfLQIS/PK28RkRw2D4TMbgkE7QTMSu5nxSLNAgn31TNqWanfz
	1aSBLwoKlxbiApxmJAlIGfLS63Nhxx+cPyDXk/LaNQ603gM4LeXqiIrOtjFRte0pL4RXaan3VnN
	PEzGFJXKO51JYKweCfmZLozMBPcTlHFayHR+ty8YqYsjAwi7UOzlWWjJLHuCwwjKLk00s66Z00f
	JFyPEgbhjfeHjLj9ytBiiCTz8VJaTY+w0H6I4HobCksL8oBsyd0SVapnhiH7X+uXP0JrKDbh20U
	hD4AwDb1/jBGZjH9eBslLY6Uci0FcccVTvaDAb3SkB8zAIy7FdA68RaIyaL1ktWbXvZrGAdU=
X-Received: by 2002:a05:690e:168a:b0:67d:994d:391a with SMTP id
 956f58d0204a3-67df448b439mr14008874d50.95.1795970520544; Sun, 29 Nov 2026
 08:42:00 -0800 (PST)
X-Mailing-List: git@vger.kernel.org
X-List-Post: <mailto:git@vger.kernel.org>
X-List-Help: <mailto:git+help@vger.kernel.org>
X-List-Subscribe: <mailto:git+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:git+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:git+owner@vger.kernel.org>
X-Precedence: list
X-Gm-Features: Aa3M54ocFa6swN9nPuxdrzmRGasq4Xwkgbtv_35XejedafOaR7Pj5HLHc-I5K1w