<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/contrib/subtree, branch v2.2.3</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.2.3</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.2.3'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2014-11-04T21:14:44Z</updated>
<entry>
<title>Documentation: typofixes</title>
<updated>2014-11-04T21:14:44Z</updated>
<author>
<name>Thomas Ackermann</name>
<email>th.acker@arcor.de</email>
</author>
<published>2014-11-03T20:37:07Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=f745acb028ee8f7dcd1c8f10127b8feeaa255cf7'/>
<id>urn:sha1:f745acb028ee8f7dcd1c8f10127b8feeaa255cf7</id>
<content type='text'>
In addition to fixing trivial and obvious typos, be careful about
the following points:

 - Spell ASCII, URL and CRC in ALL CAPS;
 - Spell Linux as Capitalized;
 - Do not omit periods in "i.e." and "e.g.".

Signed-off-by: Thomas Ackermann &lt;th.acker@arcor.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>subtree: add an install-html target</title>
<updated>2014-10-15T22:17:08Z</updated>
<author>
<name>Sebastian Schuberth</name>
<email>sschuberth@gmail.com</email>
</author>
<published>2014-10-15T18:49:28Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=4d24d5202c3c08c999231cc30bf8de70bf11dc80'/>
<id>urn:sha1:4d24d5202c3c08c999231cc30bf8de70bf11dc80</id>
<content type='text'>
Also adjust ignore rules accordingly.

Signed-off-by: Sebastian Schuberth &lt;sschuberth@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>subtree: make "all" default target of Makefile</title>
<updated>2014-08-18T17:20:36Z</updated>
<author>
<name>Jeff King</name>
<email>peff@peff.net</email>
</author>
<published>2014-08-17T07:07:32Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=960160b061a29a4a4ae637e035c3892da72326ac'/>
<id>urn:sha1:960160b061a29a4a4ae637e035c3892da72326ac</id>
<content type='text'>
You should be able to run "make" in contrib/subtree with no
arguments and get the "all" target. This was broken by 8e2a5cc
(contrib/subtree/Makefile: use GIT-VERSION-FILE, 2014-05-06), which
put the rule for GIT-VERSION-FILE higher in the file.

We can fix this by putting an empty "all::" target at the top of the
file, just like our main Makefile does, and document that fact.
That fixes this instance and future-proofs against it happening
again.

Reported-by: Jack Nagel &lt;jacknagel@gmail.com&gt;
Signed-off-by: Jeff King &lt;peff@peff.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Fix contrib/subtree Makefile to patch #! line</title>
<updated>2014-07-21T17:39:48Z</updated>
<author>
<name>Charles Bailey</name>
<email>cbailey32@bloomberg.net</email>
</author>
<published>2014-07-19T16:08:57Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=da33a97998f6d6206c08bd72a527f5b8e6e26d33'/>
<id>urn:sha1:da33a97998f6d6206c08bd72a527f5b8e6e26d33</id>
<content type='text'>
Signed-off-by: Charles Bailey &lt;cbailey32@bloomberg.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'ep/shell-assign-and-export-vars'</title>
<updated>2014-06-06T18:38:51Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-06-06T18:38:51Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=3ea8ecc21ec87eb5173a7145db2d3653e5b5fa28'/>
<id>urn:sha1:3ea8ecc21ec87eb5173a7145db2d3653e5b5fa28</id>
<content type='text'>
* ep/shell-assign-and-export-vars:
  scripts: more "export VAR=VALUE" fixes
  scripts: "export VAR=VALUE" construct is not portable
</content>
</entry>
<entry>
<title>Merge branch 'jd/subtree'</title>
<updated>2014-06-06T18:32:21Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-06-06T18:32:21Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=7173ad76edfb016500cc7a97f35b067964085ac8'/>
<id>urn:sha1:7173ad76edfb016500cc7a97f35b067964085ac8</id>
<content type='text'>
* jd/subtree:
  contrib/subtree: allow adding an annotated tag
  contrib/subtree/Makefile: clean up rule for "clean"
  contrib/subtree/Makefile: clean up rules to generate documentation
  contrib/subtree/Makefile: s/libexecdir/gitexecdir/
  contrib/subtree/Makefile: use GIT-VERSION-FILE
  contrib/subtree/Makefile: scrap unused $(gitdir)
</content>
</entry>
<entry>
<title>Merge branch 'ep/shell-command-substitution'</title>
<updated>2014-06-03T19:06:45Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-06-03T19:06:45Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=6753d8a85d543253d95184ec2faad6dc197f2486'/>
<id>urn:sha1:6753d8a85d543253d95184ec2faad6dc197f2486</id>
<content type='text'>
Adjust shell scripts to use $(cmd) instead of `cmd`.

* ep/shell-command-substitution: (41 commits)
  t5000-tar-tree.sh: use the $( ... ) construct for command substitution
  t4204-patch-id.sh: use the $( ... ) construct for command substitution
  t4119-apply-config.sh: use the $( ... ) construct for command substitution
  t4116-apply-reverse.sh: use the $( ... ) construct for command substitution
  t4057-diff-combined-paths.sh: use the $( ... ) construct for command substitution
  t4038-diff-combined.sh: use the $( ... ) construct for command substitution
  t4036-format-patch-signer-mime.sh: use the $( ... ) construct for command substitution
  t4014-format-patch.sh: use the $( ... ) construct for command substitution
  t4013-diff-various.sh: use the $( ... ) construct for command substitution
  t4012-diff-binary.sh: use the $( ... ) construct for command substitution
  t4010-diff-pathspec.sh: use the $( ... ) construct for command substitution
  t4006-diff-mode.sh: use the $( ... ) construct for command substitution
  t3910-mac-os-precompose.sh: use the $( ... ) construct for command substitution
  t3905-stash-include-untracked.sh: use the $( ... ) construct for command substitution
  t1050-large.sh: use the $( ... ) construct for command substitution
  t1020-subdirectory.sh: use the $( ... ) construct for command substitution
  t1004-read-tree-m-u-wf.sh: use the $( ... ) construct for command substitution
  t1003-read-tree-prefix.sh: use the $( ... ) construct for command substitution
  t1002-read-tree-m-u-2way.sh: use the $( ... ) construct for command substitution
  t1001-read-tree-m-2way.sh: use the $( ... ) construct for command substitution
  ...
</content>
</entry>
<entry>
<title>scripts: "export VAR=VALUE" construct is not portable</title>
<updated>2014-05-23T22:32:33Z</updated>
<author>
<name>Elia Pinto</name>
<email>gitter.spiros@gmail.com</email>
</author>
<published>2014-05-23T10:15:31Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=bed137d2d55a3b5cbd642b1e80cd7bd9094db8d4'/>
<id>urn:sha1:bed137d2d55a3b5cbd642b1e80cd7bd9094db8d4</id>
<content type='text'>
Found by check-non-portable-shell.pl

Signed-off-by: Elia Pinto &lt;gitter.spiros@gmail.com&gt;
Reviewed-by: Jonathan Nieder &lt;jrnieder@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>contrib/subtree: allow adding an annotated tag</title>
<updated>2014-05-13T19:33:26Z</updated>
<author>
<name>James Denholm</name>
<email>nod.helm@gmail.com</email>
</author>
<published>2014-05-13T04:08:58Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=6f1871fe0f7d9bddfbe199cceeb255cf8edbaab3'/>
<id>urn:sha1:6f1871fe0f7d9bddfbe199cceeb255cf8edbaab3</id>
<content type='text'>
cmd_add_commit() is passed FETCH_HEAD by cmd_add_repository, which
is then rev-parsed into an object name.  However, if the user is
fetching a tag rather than a branch HEAD, such as by executing:

  $ git subtree add -P oldGit https://github.com/git/git.git tags/v1.8.0

the object name refers to a tag and is never peeled, and the git
commit-tree call (line 561) slaps us in the face because it doesn't
peel tags to commits.

Because peeling a committish doesn't do anything if it's already a
commit, fix by peeling the object name before assigning it to $rev
using peel_committish() from git:git-sh-setup.sh, a pre-existing
dependency of git-subtree.

Reported-by: Kevin Cagle &lt;kcagle@micron.com&gt;
Helped-by: Junio C Hamano &lt;gitster@pobox.com&gt;
Signed-off-by: James Denholm &lt;nod.helm@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>contrib/subtree/Makefile: clean up rule for "clean"</title>
<updated>2014-05-06T22:36:17Z</updated>
<author>
<name>James Denholm</name>
<email>nod.helm@gmail.com</email>
</author>
<published>2014-05-06T12:41:49Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=602efc4f90295369763cc58b47c3c6532a070fe9'/>
<id>urn:sha1:602efc4f90295369763cc58b47c3c6532a070fe9</id>
<content type='text'>
git:Documentation/Makefile and others establish "RM ?= rm -f" as a
convention for rm calls in clean rules, hence follow this convention
instead of simply forcing clean to use rm.

subproj and mainline no longer need to be removed in clean, as they are
no longer created in git:contrib/subtree by "make test". Hence, remove
the rm call for those folders.

Other makefiles don't remove "*~" files, remove the rm call to prevent
unexpected behaviour in the future. Similarly, clean doesn't remove the
installable file, so rectify this.

Reviewed-by: Jeff King &lt;peff@peff.net&gt;
Signed-off-by: James Denholm &lt;nod.helm@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
