<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/Documentation/git-remote.txt, branch v2.5.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.5.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.5.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2015-03-06T23:02:28Z</updated>
<entry>
<title>Merge branch 'mg/doc-remote-tags-or-not'</title>
<updated>2015-03-06T23:02:28Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2015-03-06T23:02:27Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=79de649c0f452c0366a7306819f10760f4ed8b92'/>
<id>urn:sha1:79de649c0f452c0366a7306819f10760f4ed8b92</id>
<content type='text'>
"git remote add" mentioned "--tags" and "--no-tags" and was not
clear that fetch from the remote in the future will use the default
behaviour when neither is given to override it.

* mg/doc-remote-tags-or-not:
  git-remote.txt: describe behavior without --tags and --no-tags
</content>
</entry>
<entry>
<title>git-remote.txt: describe behavior without --tags and --no-tags</title>
<updated>2015-03-02T20:48:23Z</updated>
<author>
<name>Michael J Gruber</name>
<email>git@drmicha.warpmail.net</email>
</author>
<published>2015-03-02T13:08:09Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=aaba0ab46273b2c0d540a24ad4fb7a1a55e7f5e1'/>
<id>urn:sha1:aaba0ab46273b2c0d540a24ad4fb7a1a55e7f5e1</id>
<content type='text'>
Signed-off-by: Michael J Gruber &lt;git@drmicha.warpmail.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Documentation/git-remote.txt: stress that set-url is not for triangular</title>
<updated>2015-01-29T22:07:13Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2015-01-29T20:26:09Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=697f652818f211aa48e3c007f25d6177647980c1'/>
<id>urn:sha1:697f652818f211aa48e3c007f25d6177647980c1</id>
<content type='text'>
It seems to be a common mistake to try using a single remote
(e.g. 'origin') to fetch from one place (i.e. upstream) while
pushing to another (i.e. your publishing point).

That will never work satisfactorily, and it is easy to understand
why if you think about what refs/remotes/origin/* would mean in such
a world.  It fundamentally cannot reflect the reality.  If it
follows the state of your upstream, it cannot match what you have
published, and vice versa.

It may be that misinformation is spread by some people.  Let's
counter them by adding a few words to our documentation.

 - The description was referring to &lt;oldurl&gt; and &lt;newurl&gt;, but never
   mentioned &lt;name&gt; argument you give from the command line.  By
   mentioning "remote &lt;name&gt;", stress the fact that it is configuring
   a single remote.

 - Add a reminder that explicitly states that this is about a single
   remote, which the triangular workflow is not about.

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>docs/git-remote: capitalize first word of initial blurb</title>
<updated>2014-02-11T19:03:07Z</updated>
<author>
<name>Albert L. Lash, IV</name>
<email>alash3@bloomberg.net</email>
</author>
<published>2014-02-08T20:41:35Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=a2f69581ffc26fadb27bc29dd03074791a16d61e'/>
<id>urn:sha1:a2f69581ffc26fadb27bc29dd03074791a16d61e</id>
<content type='text'>
All other man files have capitalized descriptions which
immediately follow the command's name. Let's capitalize
this one too for consistency.

Signed-off-by: Albert L. Lash, IV &lt;alash3@bloomberg.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>remote doc: document long forms of set-head options</title>
<updated>2013-09-27T23:49:18Z</updated>
<author>
<name>Philip Oakley</name>
<email>philipoakley@iee.org</email>
</author>
<published>2013-09-21T15:51:45Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=159543e8317cd13611dc999efddd3a89c11c1229'/>
<id>urn:sha1:159543e8317cd13611dc999efddd3a89c11c1229</id>
<content type='text'>
"git remote set-head" has always supported --add and --delete
as synonyms for the -a and -d option but forgot to document
them.

Signed-off-by: Philip Oakley &lt;philipoakley@iee.org&gt;
Signed-off-by: Jonathan Nieder &lt;jrnieder@gmail.com&gt;
</content>
</entry>
<entry>
<title>Documentation: Update the NFS remote examples to use the staging repo</title>
<updated>2013-06-23T06:35:17Z</updated>
<author>
<name>W. Trevor King</name>
<email>wking@tremily.us</email>
</author>
<published>2013-06-22T14:46:26Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=34a25d4c9004fd17ce8cbd648d29600caccfd9b6'/>
<id>urn:sha1:34a25d4c9004fd17ce8cbd648d29600caccfd9b6</id>
<content type='text'>
linux-nfs.org seems to have restructured their repository layout since
8391c60 (git-remote.txt: fix example url, 2007-11-02), and Bruce's
repo is now at git://git.linux-nfs.org/projects/bfields/linux.git.
Bruce also has a more richer internal branch structure (master,
everything, for-3.1, ...), so updating the existing example to use his
current repo may be confusing.

To simplify, I've replaced the NFS repo with Greg's staging repo.
I've also updated the output of the surrounding commands to match the
output of a current run through.

Signed-off-by: W. Trevor King &lt;wking@tremily.us&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>documentation: trivial style cleanups</title>
<updated>2013-05-17T19:09:21Z</updated>
<author>
<name>Felipe Contreras</name>
<email>felipe.contreras@gmail.com</email>
</author>
<published>2013-05-09T01:16:55Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=0460ed2c93d78c753242f835c441f320f792ac54'/>
<id>urn:sha1:0460ed2c93d78c753242f835c441f320f792ac54</id>
<content type='text'>
White-spaces, missing braces, standardize --[no-]foo.

Signed-off-by: Felipe Contreras &lt;felipe.contreras@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>remote: 'show' and 'prune' can take more than one remote</title>
<updated>2013-04-24T20:13:21Z</updated>
<author>
<name>Thomas Rast</name>
<email>trast@inf.ethz.ch</email>
</author>
<published>2013-04-24T13:54:37Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=b17dd3f9d6b1657b3fbfb40a863fc2dce5f54798'/>
<id>urn:sha1:b17dd3f9d6b1657b3fbfb40a863fc2dce5f54798</id>
<content type='text'>
The 'git remote show' and 'prune' subcommands are documented as taking
only a single remote name argument, but that is not the case; they
will simply iterate the action over all remotes given.  Update the
documentation and tests to match.

With the last user of the -f flag gone, we also remove the code
supporting it.

Signed-off-by: Thomas Rast &lt;trast@inf.ethz.ch&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>remote: prefer subcommand name 'remove' to 'rm'</title>
<updated>2012-09-06T20:23:22Z</updated>
<author>
<name>Nguyễn Thái Ngọc Duy</name>
<email>pclouds@gmail.com</email>
</author>
<published>2012-09-06T12:25:23Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=e17dba8fe15028425acd6a4ebebf1b8e9377d3c6'/>
<id>urn:sha1:e17dba8fe15028425acd6a4ebebf1b8e9377d3c6</id>
<content type='text'>
All remote subcommands are spelled out words except 'rm'. 'rm', being a
popular UNIX command name, may mislead users that there are also 'ls' or
'mv'. Use 'remove' to fit with the rest of subcommands.

'rm' is still supported and used in the test suite. It's just not
widely advertised.

Signed-off-by: Nguyễn Thái Ngọc Duy &lt;pclouds@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>docs: stop using asciidoc no-inline-literal</title>
<updated>2012-04-26T20:19:06Z</updated>
<author>
<name>Jeff King</name>
<email>peff@peff.net</email>
</author>
<published>2012-04-26T08:51:57Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=6cf378f0cbe7c7f944637892caeb9058c90a185a'/>
<id>urn:sha1:6cf378f0cbe7c7f944637892caeb9058c90a185a</id>
<content type='text'>
In asciidoc 7, backticks like `foo` produced a typographic
effect, but did not otherwise affect the syntax. In asciidoc
8, backticks introduce an "inline literal" inside which markup
is not interpreted. To keep compatibility with existing
documents, asciidoc 8 has a "no-inline-literal" attribute to
keep the old behavior. We enabled this so that the
documentation could be built on either version.

It has been several years now, and asciidoc 7 is no longer
in wide use. We can now decide whether or not we want
inline literals on their own merits, which are:

  1. The source is much easier to read when the literal
     contains punctuation. You can use `master~1` instead
     of `master{tilde}1`.

  2. They are less error-prone. Because of point (1), we
     tend to make mistakes and forget the extra layer of
     quoting.

This patch removes the no-inline-literal attribute from the
Makefile and converts every use of backticks in the
documentation to an inline literal (they must be cleaned up,
or the example above would literally show "{tilde}" in the
output).

Problematic sites were found by grepping for '`.*[{\\]' and
examined and fixed manually. The results were then verified
by comparing the output of "html2text" on the set of
generated html pages. Doing so revealed that in addition to
making the source more readable, this patch fixes several
formatting bugs:

  - HTML rendering used the ellipsis character instead of
    literal "..." in code examples (like "git log A...B")

  - some code examples used the right-arrow character
    instead of '-&gt;' because they failed to quote

  - api-config.txt did not quote tilde, and the resulting
    HTML contained a bogus snippet like:

      &lt;tt&gt;&lt;sub&gt;&lt;/tt&gt; foo &lt;tt&gt;&lt;/sub&gt;bar&lt;/tt&gt;

    which caused some parsers to choke and omit whole
    sections of the page.

  - git-commit.txt confused ``foo`` (backticks inside a
    literal) with ``foo'' (matched double-quotes)

  - mentions of `A U Thor &lt;author@example.com&gt;` used to
    erroneously auto-generate a mailto footnote for
    author@example.com

  - the description of --word-diff=plain incorrectly showed
    the output as "[-removed-] and {added}", not "{+added+}".

  - using "prime" notation like:

      commit `C` and its replacement `C'`

    confused asciidoc into thinking that everything between
    the first backtick and the final apostrophe were meant
    to be inside matched quotes

  - asciidoc got confused by the escaping of some of our
    asterisks. In particular,

      `credential.\*` and `credential.&lt;url&gt;.\*`

    properly escaped the asterisk in the first case, but
    literally passed through the backslash in the second
    case.

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