Thread (20 messages) flat view 20 messages, 3 authors, 2016-06-15

Re: [PATCHv3] tag: add --points-at list option

From: Tom Grennan <hidden>
Date: 2016-06-15 22:53:01

On Wed, Feb 08, 2012 at 10:43:32AM -0800, Tom Grennan wrote:
On Wed, Feb 08, 2012 at 10:44:42AM -0500, Jeff King wrote:
quoted
On Tue, Feb 07, 2012 at 10:21:16PM -0800, Tom Grennan wrote:

Also, should we be producing an error if !obj? It would indicate a tag
that points to a bogus object.
I think the test of (obj) is redundant as this should be caught
by get_sha1() in parse_opt_points_at()
I'm wrong. That tests the sha of the point-at argument, not the
sha/objects of the refs/tags entry.  I'll add...

	if (!obj)
		die(_("invalid tag, 'refs/tags/%s'"), refname);

-- 
TomG
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help