From: Bruce Korb <bruce.korb@gmail.com>
To: Matthieu Moy <Matthieu.Moy@grenoble-inp.fr>
Cc: git@vger.kernel.org
Subject: Re: Documentation problems
Date: Sun, 20 Sep 2009 11:37:25 -0700 [thread overview]
Message-ID: <4AB67665.10402@gmail.com> (raw)
In-Reply-To: <vpqvdjdzd6x.fsf@bauges.imag.fr>
Hi Matthieu,
>> I'm trying to figure out what a ``tree-ish''.
>> I need a translation. :( Thank you. Regards, Bruce
>
> tree = directory (with its content).
>
> For example, the last commit in the current branch is a Git object of
> type "commit", which contains mostly a log message, a few headers, and
> a pointer to the tree object corresponding to the content of the
> directory in which you made the commit (modulo what you excluded from
> the commit of course). Therefore, the name of this commit, although
> not really a tree, is a tree-ish in that it talks about one and only
> one tree. You could name it HEAD, a sha1sum (like
> 5a2abc12d64a5e00daa6aebbb673715f365a564a), the name of the branch
> (like "master"), ...
Since I haven't created any any branches (to my knowledge), it seems
that "master" is the magic branch name. My goal was just to get a
list of managed files. Is "master" going to remain my "HEAD" now?
(Assuming I don't do something to make a new branch. One branch
is enough for my little one person project....)
> Just type "git ls-tree --name-only".
Ah. Thank you.
> git-ls-tree is the old way to
> refer to the command name. Normally, any reference to dashed names
> should have been removed from the documentation by now (so most likely
> you see it in your distro because it's an old enough version,
> otherwise, it's a bug in the doc).
$ git --version
git version 1.6.0.2
I guess the man pages and installation were out of sync for that release.
Thank you for the quick reply! Regards, Bruce
next prev parent reply other threads:[~2009-09-20 18:37 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-20 17:58 Documentation problems Bruce Korb
2009-09-20 18:24 ` Matthieu Moy
2009-09-20 18:37 ` Bruce Korb [this message]
2009-09-20 18:45 ` Matthieu Moy
2009-09-20 20:52 ` Andreas Schwab
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=4AB67665.10402@gmail.com \
--to=bruce.korb@gmail.com \
--cc=Matthieu.Moy@grenoble-inp.fr \
--cc=git@vger.kernel.org \
/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).