git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jonathan Nieder <jrnieder@gmail.com>
To: Junio C Hamano <gitster@pobox.com>
Cc: Michael Witten <mfwitten@gmail.com>,
	geoffrey.russell@gmail.com, Ralf Ebert <info@ralfebert.de>,
	git@vger.kernel.org
Subject: Re: understanding how remote tracking works
Date: Mon, 9 Aug 2010 15:53:09 -0500	[thread overview]
Message-ID: <20100809205309.GA3204@burratino> (raw)
In-Reply-To: <7vaaov60rv.fsf@alter.siamese.dyndns.org>

Junio C Hamano wrote:

> I tend to agree with Michael (modulo s/ culture/'s early&/) here.  Many
> documents written in the early days, the "tutorial" document by Linus
> being the most prominent example, were written in a way to focus exposing
> the implementation details to show how simple the structure is.
[...]
>> Probably the more relevant question: what do you want to do about it?
>
> Continue the current course of encouraging the use of plumbing commands
> and not looking at the low-level implementation detail.  Perhaps help
> people update their documents, moving stale descriptions into "historical
> note" sections.

Thanks for deciphering.

So here’s a list from a quick Google search for “.git/refs” (alas, the
search engine is not strong enough to return the right hits for “git
"layering violation"”).  Some nice pages here, actually.

 . http://linux.yyz.us/git-howto.html#diff_branch
 . http://www.lostechies.com/blogs/jason_meridth/archive/2009/06/07/git-for-windows-developers-git-series-part-3.aspx
 . http://gitfu.wordpress.com/2008/05/25/git-describe-great-another-way-to-refer-to-commits/
 . http://www-cs-students.stanford.edu/~blynn/gitmagic/ch08.html
 . http://google-opensource.blogspot.com/2008/05/export-git-project-to-google-code.html
   and http://code.google.com/p/support/wiki/ImportingFromGit
 . http://blog.stevecoinc.com/2010/02/stupid-git-tricks.html

It would be nice to find ways to suggest updates (but please
coordinate so as not to flood the authors with mail).

There are a lot of instances of “rm -r .git/refs/original” after
running filter-branch, too.  Maybe filter-branch ought to provide
some synonym for

 eval "$(
	git for-each-ref refs/heads/\* --shell --format='git update-ref -d %(refname) &&' &&
	echo :
 )"

  reply	other threads:[~2010-08-09 20:54 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-09  1:17 understanding how remote tracking works Geoff Russell
2010-08-09  1:31 ` Ralf Ebert
2010-08-09  1:53   ` Geoff Russell
2010-08-09  2:13     ` Michael Witten
2010-08-09  2:19       ` Jonathan Nieder
2010-08-09  3:46         ` Geoff Russell
2010-08-09 19:31         ` Junio C Hamano
2010-08-09 20:53           ` Jonathan Nieder [this message]
2010-08-09 23:07             ` discarding refs/original/* after filter-branch (Re: understanding how remote tracking works) Jonathan Nieder
2010-08-09  1:32 ` [PATCH/RFC] Documentation: add a FILES section for show-ref Jonathan Nieder
2010-08-09 19:33   ` Junio C Hamano

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100809205309.GA3204@burratino \
    --to=jrnieder@gmail.com \
    --cc=geoffrey.russell@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.com \
    --cc=info@ralfebert.de \
    --cc=mfwitten@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).