<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/Documentation/gitcore-tutorial.txt, branch v2.8.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.8.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.8.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2016-02-01T21:07:41Z</updated>
<entry>
<title>transport: drop support for git-over-rsync</title>
<updated>2016-02-01T21:07:41Z</updated>
<author>
<name>Jeff King</name>
<email>peff@peff.net</email>
</author>
<published>2016-01-30T07:21:26Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=0d0bac67ce3b3f2301702573f6acc100798d7edd'/>
<id>urn:sha1:0d0bac67ce3b3f2301702573f6acc100798d7edd</id>
<content type='text'>
The git-over-rsync protocol is inefficient and broken, and
has been for a long time. It transfers way more objects than
it needs (grabbing all of the remote's "objects/",
regardless of which objects we need). It does its own ad-hoc
parsing of loose and packed refs from the remote, but
doesn't properly override packed refs with loose ones,
leading to garbage results (e.g., expecting the other side
to have an object pointed to by a stale packed-refs entry,
or complaining that the other side has two copies of the
refs[1]).

This latter breakage means that nobody could have
successfully pulled from a moderately active repository
since cd547b4 (fetch/push: readd rsync support, 2007-10-01).

We never made an official deprecation notice in the release
notes for git's rsync protocol, but the tutorial has marked
it as such since 914328a (Update tutorial., 2005-08-30).
And on the mailing list as far back as Oct 2005, we can find
Junio mentioning it as having "been deprecated for quite
some time."[2,3,4]. So it was old news then; cogito had
deprecated the transport in July of 2005[5] (though it did
come back briefly when Linus broke git-http-pull!).

Of course some people professed their love of rsync through
2006, but Linus clarified in his usual gentle manner[6]:

  &gt; Thanks!  This is why I still use rsync, even though
  &gt; everybody and their mother tells me "Linus says rsync is
  &gt; deprecated."

  No. You're using rsync because you're actively doing
  something _wrong_.

The deprecation sentiment was reinforced in 2008, with a
mention that cloning via rsync is broken (with no fix)[7].

Even the commit porting rsync over to C from shell (cd547b4)
lists it as deprecated! So between the 10 years of informal
warnings, and the fact that it has been severely broken
since 2007, it's probably safe to simply remove it without
further deprecation warnings.

[1] http://article.gmane.org/gmane.comp.version-control.git/285101
[2] http://article.gmane.org/gmane.comp.version-control.git/10093
[3] http://article.gmane.org/gmane.comp.version-control.git/17734
[4] http://article.gmane.org/gmane.comp.version-control.git/18911
[5] http://article.gmane.org/gmane.comp.version-control.git/5617
[6] http://article.gmane.org/gmane.comp.version-control.git/19354
[7] http://article.gmane.org/gmane.comp.version-control.git/103635

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>Merge branch 'ja/tutorial-asciidoctor-fix'</title>
<updated>2015-05-22T19:41:48Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2015-05-22T19:41:48Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=236794f1eb85da0dbc83389ebe509476b0c8769e'/>
<id>urn:sha1:236794f1eb85da0dbc83389ebe509476b0c8769e</id>
<content type='text'>
A literal block in the tutorial had lines with unequal lengths to
delimit it from the rest of the document, which choke GitHub's
AsciiDoc renderer.

* ja/tutorial-asciidoctor-fix:
  doc: fix unmatched code fences
</content>
</entry>
<entry>
<title>doc: fix unmatched code fences</title>
<updated>2015-05-12T20:08:13Z</updated>
<author>
<name>Jean-Noel Avila</name>
<email>jn.avila@free.fr</email>
</author>
<published>2015-05-12T17:23:20Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=975e382d13ba9ce98cd58820283464b6aaefbad1'/>
<id>urn:sha1:975e382d13ba9ce98cd58820283464b6aaefbad1</id>
<content type='text'>
This mismatch upsets the renderer on git-scm.com.

Signed-off-by: Jean-Noel Avila &lt;jn.avila@free.fr&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>doc: add 'everyday' to 'git help'</title>
<updated>2014-10-10T23:02:26Z</updated>
<author>
<name>Philip Oakley</name>
<email>philipoakley@iee.org</email>
</author>
<published>2014-10-10T21:25:37Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=673151a9bb56ec97fab66746e3aecef78fddb9b8'/>
<id>urn:sha1:673151a9bb56ec97fab66746e3aecef78fddb9b8</id>
<content type='text'>
The "Everyday GIT With 20 Commands Or So" is not accessible via the
Git help system.  Move everyday.txt to giteveryday.txt so that "git
help everyday" works, and create a new placeholder file everyday.html
to refer people who follow existing URLs to the updated location.

giteveryday.txt now formats well with AsciiDoc as a man page and
refreshed content to a more command modern style.

Add 'everyday' to the help --guides list and update git(1) and 5
other links to giteveryday.

Signed-off-by: Philip Oakley &lt;philipoakley@iee.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Documentation: fix documentation AsciiDoc links for external urls</title>
<updated>2014-02-20T22:14:58Z</updated>
<author>
<name>Roberto Tyley</name>
<email>roberto.tyley@gmail.com</email>
</author>
<published>2014-02-18T21:42:22Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=2df85669d16703714968572937ebb67a31241ca3'/>
<id>urn:sha1:2df85669d16703714968572937ebb67a31241ca3</id>
<content type='text'>
Turns out that putting 'link:' before the 'http' is actually superfluous
in AsciiDoc, as there's already a predefined macro to handle it.

"http, https, [etc] URLs are rendered using predefined inline macros."
http://www.methods.co.nz/asciidoc/userguide.html#_urls

"Hypertext links to files on the local file system are specified
using the link inline macro."
http://www.methods.co.nz/asciidoc/userguide.html#_linking_to_local_documents

Despite being superfluous, the reference implementation of AsciiDoc
tolerates the extra 'link:' and silently removes it, giving a functioning
link in the generated HTML. However, AsciiDoctor (the Ruby implementation
of AsciiDoc used to render the http://git-scm.com/ site) does /not/ have
this behaviour, and so generates broken links, as can be seen here:

http://git-scm.com/docs/git-cvsimport (links to cvs2git &amp; parsecvs)
http://git-scm.com/docs/git-filter-branch (link to The BFG)

It's worth noting that after this change, the html generated by 'make html'
in the git project is identical, and all links still work.

Signed-off-by: Roberto Tyley &lt;roberto.tyley@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>core-tutorial: trim the section on Inspecting Changes</title>
<updated>2013-08-13T16:01:52Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2013-08-09T17:28:53Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=627a8b8dcda6b6fd3946b2b5964c9154c410f518'/>
<id>urn:sha1:627a8b8dcda6b6fd3946b2b5964c9154c410f518</id>
<content type='text'>
Back when the core tutorial was written, `log` and `whatchanged`
were scripted Porcelains.  In the "Inspecting Changes" section that
talks about the plumbing commands in the diff family, it made sense
to use `log` and `whatchanged` as good examples of the use of these
plumbing commands, and because even these scripted Porcelains were
novelty (there wasn't the new end-user tutorial written), it made
some sense to illustrate uses of the `git log` (and `git
whatchanged`) scripted Porcelain commands.

But we no longer have scripted `log` and `whatchanged` to serve as
examples, and this document is not where the end users learn what
`git log` command is about.  Stop at briefly mentioning the
possibility of combining rev-list with diff-tree to build your own
log, and leave the end-user documentation of `log` to the new
tutorial and the user manual.

Also resurrect the last version of `git-log`, `git-whatchanged`, and
`git-show` to serve as examples to contrib/examples/ directory.

While at it, remove 'whatchanged' from a list of sample commands
that are affected by GIT_FLUSH environment variable. This is not
meant to be an exhaustive list but as a list of typical ones, and an
old command that is kept primarily for backward compatibility does
not belong to it.

Helped-by: Matthieu Moy &lt;Matthieu.Moy@grenoble-inp.fr&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>The name of the hash function is "SHA-1", not "SHA1"</title>
<updated>2013-04-15T18:08:37Z</updated>
<author>
<name>Thomas Ackermann</name>
<email>th.acker@arcor.de</email>
</author>
<published>2013-04-15T17:49:04Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=d5fa1f1a69f578831179b77893aac480b986e875'/>
<id>urn:sha1:d5fa1f1a69f578831179b77893aac480b986e875</id>
<content type='text'>
Use "SHA-1" instead of "SHA1" whenever we talk about the hash function.
When used as a programming symbol, we keep "SHA1".

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>Documentation: the name of the system is 'Git', not 'git'</title>
<updated>2013-02-01T21:53:33Z</updated>
<author>
<name>Thomas Ackermann</name>
<email>th.acker@arcor.de</email>
</author>
<published>2013-01-21T19:17:53Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=2de9b71138171dca7279db3b3fe67e868c76d921'/>
<id>urn:sha1:2de9b71138171dca7279db3b3fe67e868c76d921</id>
<content type='text'>
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>Documentation: avoid poor-man's small caps GIT</title>
<updated>2013-02-01T21:53:25Z</updated>
<author>
<name>Thomas Ackermann</name>
<email>th.acker@arcor.de</email>
</author>
<published>2013-01-21T19:16:20Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=48a8c26c625a4d3631c4f614bceb38933e741408'/>
<id>urn:sha1:48a8c26c625a4d3631c4f614bceb38933e741408</id>
<content type='text'>
In the earlier days, we used to spell the name of the system as GIT,
to simulate as if it were typeset with capital G and IT in small
caps.  Later we stopped doing so at around 1.6.5 days.

Let's stop doing so throughout the documentation.  The name to refer
to the whole system (and the concept it embodies) is "Git"; the
command end-users type is "git".  And document this in the coding
guideline.

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>Documentation: describe subject more precisely</title>
<updated>2012-09-14T04:30:21Z</updated>
<author>
<name>Jeremy White</name>
<email>jwhite@codeweavers.com</email>
</author>
<published>2012-09-13T22:27:09Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=52ffe995b9a3fc43de8eca80bedab2e055aac562'/>
<id>urn:sha1:52ffe995b9a3fc43de8eca80bedab2e055aac562</id>
<content type='text'>
The discussion of email subject throughout the documentation is
misleading; it indicates that the first line will always become
the subject.  In fact, the subject is generally all lines up until
the first full blank line.

This patch refines that, and makes more use of the concept of a
commit title, with the title being all text up to the first blank line.

Signed-off-by: Jeremy White &lt;jwhite@codeweavers.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
