From: Jonas Fonseca <fonseca@diku.dk>
To: Petr Baudis <pasky@suse.cz>
Cc: git@vger.kernel.org
Subject: Re: [PATCH] cg-object-id: comment the alternate id shortcut parsing
Date: Wed, 7 Dec 2005 23:19:45 +0100 [thread overview]
Message-ID: <20051207221945.GB27619@diku.dk> (raw)
In-Reply-To: <20051207221449.GA27619@diku.dk>
Jonas Fonseca <fonseca@diku.dk> wrote Wed, Dec 07, 2005:
> Petr Baudis <pasky@suse.cz> wrote Wed, Dec 07, 2005:
> > Dear diary, on Wed, Dec 07, 2005 at 10:39:43PM CET, I got a letter
> > where Jonas Fonseca <fonseca@diku.dk> said that...
> > > - # Short id's must be lower case and at least 4 digits.
> > > + # Short id's must be lower case and at least 4 digits. git-rev-parse(1)
> > > + # allows only down to 5 digits and we want to show the list of matched
> > > + # ids.
> >
> > Huh. The code in sha1_name.c speaks differently and it works as well:
> >
> > $ git-rev-parse b1fc
> > b1fcca45069d4f6b00a9ac7136be4268d09fd6b9
>
> I had this one testcase:
>
~/src/elinks/0.11 > git-rev-parse --verify e6b6
error: short SHA1 e6b6 is ambiguous.
fatal: Needed a single revision
> ~/src/elinks/0.11 > cg-object-id e6b6
> e6b65b543108bfeb95ea24978112b46e34cfde87
>
> Could it have something to do with the local packing?
--
Jonas Fonseca
prev parent reply other threads:[~2005-12-07 22:20 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-07 21:39 [PATCH] cg-object-id: comment the alternate id shortcut parsing Jonas Fonseca
2005-12-07 22:05 ` Petr Baudis
2005-12-07 22:14 ` Jonas Fonseca
2005-12-07 22:19 ` Jonas Fonseca [this message]
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=20051207221945.GB27619@diku.dk \
--to=fonseca@diku.dk \
--cc=git@vger.kernel.org \
--cc=pasky@suse.cz \
/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).