* [gentoo-commits] proj/devmanual:master commit in: ebuild-writing/functions/src_prepare/epatch/, ebuild-writing/misc-files/patches/
@ 2017-02-28 21:41 Ulrich Müller
0 siblings, 0 replies; only message in thread
From: Ulrich Müller @ 2017-02-28 21:41 UTC (permalink / raw
To: gentoo-commits
commit: 7d8a3d00c1975646d21a84496aecc57bcefd7b1a
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 26 16:49:40 2017 +0000
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Tue Feb 28 21:41:03 2017 +0000
URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=7d8a3d00
ebuild-writing: Delete obsolete sections about CVS keyword expansion.
Git doesn't by default expand any keywords like $Id$ or $Date$, so
patches can be committed like any other file.
ebuild-writing/functions/src_prepare/epatch/text.xml | 14 --------------
ebuild-writing/misc-files/patches/text.xml | 19 -------------------
2 files changed, 33 deletions(-)
diff --git a/ebuild-writing/functions/src_prepare/epatch/text.xml b/ebuild-writing/functions/src_prepare/epatch/text.xml
index 6cdff0d..b873661 100644
--- a/ebuild-writing/functions/src_prepare/epatch/text.xml
+++ b/ebuild-writing/functions/src_prepare/epatch/text.xml
@@ -67,20 +67,6 @@ src_prepare() {
Remember to add the patch to <c>SRC_URI</c>.
</p>
</body>
-
-<subsection>
-<title>Git Keyword Expansion Lines and Patches</title>
-<body>
-<p>
-If your patch includes any changes to Git <c>$Id$</c>
-(or <c>$Date$</c>) lines, it cannot be
-distributed under <c>files/</c>, since Git will clobber the patch when
-keywords are expanded on the staging box. In these situations, either remove this hunk of the patch
-manually, or mirror the file. See <uri link="::general-concepts/git-to-rsync"/>.
-</p>
-</body>
-</subsection>
-
</section>
<section>
diff --git a/ebuild-writing/misc-files/patches/text.xml b/ebuild-writing/misc-files/patches/text.xml
index f0b1f13..506871f 100644
--- a/ebuild-writing/misc-files/patches/text.xml
+++ b/ebuild-writing/misc-files/patches/text.xml
@@ -101,25 +101,6 @@ from the <c>vim</c> patch tarball:
</body>
</section>
-
-<section>
-<title>Adding Patches to the tree</title>
-<body>
-
-<p>
-When adding a patch to the tree be sure to check that the patch doesn't have
-Git keywords in it that will be expanded (such as <c>$Id$</c>). If
-the patch contains these, it will break manifests unless you add it to the tree
-correctly. In the case that it does have the keywords, you should remove them.
-Afterwards they can be added like every other file:
-</p>
-
-<pre>
-git add files/${P}-the-cool-patch.patch
-</pre>
-
-</body>
-</section>
</body>
</chapter>
</guide>
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2017-02-28 21:41 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-28 21:41 [gentoo-commits] proj/devmanual:master commit in: ebuild-writing/functions/src_prepare/epatch/, ebuild-writing/misc-files/patches/ Ulrich Müller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox