git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* latest blob date (request)
@ 2006-01-16  1:31 Randy.Dunlap
  2006-01-16  5:07 ` Paul Mackerras
  2006-01-16 19:00 ` Linus Torvalds
  0 siblings, 2 replies; 7+ messages in thread
From: Randy.Dunlap @ 2006-01-16  1:31 UTC (permalink / raw)
  To: paulus; +Cc: git

Hi,

I would find it helpful (a user optimization) if each tree list
contained a date-last-modified/updated.  This could be used
to help decide if I (someone) wanted to click on a particular
blob or history (OK, blobs are quick, but history can be
very time-consuming, so being able to shortcut or skip
history would be very helpful IMO).

---
~Randy

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: latest blob date (request)
  2006-01-16  1:31 latest blob date (request) Randy.Dunlap
@ 2006-01-16  5:07 ` Paul Mackerras
  2006-01-16  5:10   ` gitweb: " Randy.Dunlap
  2006-01-16 19:00 ` Linus Torvalds
  1 sibling, 1 reply; 7+ messages in thread
From: Paul Mackerras @ 2006-01-16  5:07 UTC (permalink / raw)
  To: Randy.Dunlap; +Cc: git

Randy,

> I would find it helpful (a user optimization) if each tree list
> contained a date-last-modified/updated.  This could be used
> to help decide if I (someone) wanted to click on a particular
> blob or history (OK, blobs are quick, but history can be
> very time-consuming, so being able to shortcut or skip
> history would be very helpful IMO).

Are you talking about gitk or gitweb?  If you mean gitweb on
kernel.org, Kay Sievers is who you need to talk to.

Paul.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* gitweb: latest blob date (request)
  2006-01-16  5:07 ` Paul Mackerras
@ 2006-01-16  5:10   ` Randy.Dunlap
  2006-01-16 17:44     ` Kay Sievers
  0 siblings, 1 reply; 7+ messages in thread
From: Randy.Dunlap @ 2006-01-16  5:10 UTC (permalink / raw)
  To: Paul Mackerras; +Cc: git, kay.sievers

On Mon, 16 Jan 2006 16:07:09 +1100 Paul Mackerras wrote:

> Randy,
> 
> > I would find it helpful (a user optimization) if each tree list
> > contained a date-last-modified/updated.  This could be used
> > to help decide if I (someone) wanted to click on a particular
> > blob or history (OK, blobs are quick, but history can be
> > very time-consuming, so being able to shortcut or skip
> > history would be very helpful IMO).
> 
> Are you talking about gitk or gitweb?  If you mean gitweb on
> kernel.org, Kay Sievers is who you need to talk to.

Sheesh, you are correct.  Sorry.

Redirecting to Kay.	

---
~Randy

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: gitweb: latest blob date (request)
  2006-01-16  5:10   ` gitweb: " Randy.Dunlap
@ 2006-01-16 17:44     ` Kay Sievers
  2006-01-16 17:46       ` Randy.Dunlap
  2006-01-16 17:55       ` Junio C Hamano
  0 siblings, 2 replies; 7+ messages in thread
From: Kay Sievers @ 2006-01-16 17:44 UTC (permalink / raw)
  To: Randy.Dunlap; +Cc: Paul Mackerras, git

On Sun, Jan 15, 2006 at 09:10:11PM -0800, Randy.Dunlap wrote:
> On Mon, 16 Jan 2006 16:07:09 +1100 Paul Mackerras wrote:
> 
> > Randy,
> > 
> > > I would find it helpful (a user optimization) if each tree list
> > > contained a date-last-modified/updated.  This could be used
> > > to help decide if I (someone) wanted to click on a particular
> > > blob or history (OK, blobs are quick, but history can be
> > > very time-consuming, so being able to shortcut or skip
> > > history would be very helpful IMO).
> > 
> > Are you talking about gitk or gitweb?  If you mean gitweb on
> > kernel.org, Kay Sievers is who you need to talk to.
> 
> Sheesh, you are correct.  Sorry.

Hmm, where do I find this information? It is recorded in last commit,
that changed the file, right? I'm not sure, if we can get this out of
the git tools?

Thanks,
Kay

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: gitweb: latest blob date (request)
  2006-01-16 17:44     ` Kay Sievers
@ 2006-01-16 17:46       ` Randy.Dunlap
  2006-01-16 17:55       ` Junio C Hamano
  1 sibling, 0 replies; 7+ messages in thread
From: Randy.Dunlap @ 2006-01-16 17:46 UTC (permalink / raw)
  To: Kay Sievers; +Cc: Randy.Dunlap, Paul Mackerras, git

On Mon, 16 Jan 2006, Kay Sievers wrote:

> On Sun, Jan 15, 2006 at 09:10:11PM -0800, Randy.Dunlap wrote:
> > On Mon, 16 Jan 2006 16:07:09 +1100 Paul Mackerras wrote:
> >
> > > Randy,
> > >
> > > > I would find it helpful (a user optimization) if each tree list
> > > > contained a date-last-modified/updated.  This could be used
> > > > to help decide if I (someone) wanted to click on a particular
> > > > blob or history (OK, blobs are quick, but history can be
> > > > very time-consuming, so being able to shortcut or skip
> > > > history would be very helpful IMO).
> > >
> > > Are you talking about gitk or gitweb?  If you mean gitweb on
> > > kernel.org, Kay Sievers is who you need to talk to.
> >
> > Sheesh, you are correct.  Sorry.
>
> Hmm, where do I find this information? It is recorded in last commit,
> that changed the file, right? I'm not sure, if we can get this out of
> the git tools?

I have no idea.  Maybe not.  If not, that's too bad.

I was just making a request of something that I think would
be very helpful.

-- 
~Randy

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: gitweb: latest blob date (request)
  2006-01-16 17:44     ` Kay Sievers
  2006-01-16 17:46       ` Randy.Dunlap
@ 2006-01-16 17:55       ` Junio C Hamano
  1 sibling, 0 replies; 7+ messages in thread
From: Junio C Hamano @ 2006-01-16 17:55 UTC (permalink / raw)
  To: Kay Sievers; +Cc: git

Kay Sievers <kay.sievers@vrfy.org> writes:

> Hmm, where do I find this information? It is recorded in last commit,
> that changed the file, right? I'm not sure, if we can get this out of
> the git tools?

Yes we can.  But it is rather expensive.  You would do an
equivalent of "git whatchanged" for each and every path.

Of course commit chain is immutable so you could do this once
and cache the results.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: latest blob date (request)
  2006-01-16  1:31 latest blob date (request) Randy.Dunlap
  2006-01-16  5:07 ` Paul Mackerras
@ 2006-01-16 19:00 ` Linus Torvalds
  1 sibling, 0 replies; 7+ messages in thread
From: Linus Torvalds @ 2006-01-16 19:00 UTC (permalink / raw)
  To: Randy.Dunlap; +Cc: Git Mailing List



On Sun, 15 Jan 2006, Randy.Dunlap wrote:
> 
> I would find it helpful (a user optimization) if each tree list
> contained a date-last-modified/updated.  This could be used
> to help decide if I (someone) wanted to click on a particular
> blob or history (OK, blobs are quick, but history can be
> very time-consuming, so being able to shortcut or skip
> history would be very helpful IMO).

That's fundamentally a very expensive operation in git.

A "blob" doesn't have a date - and indeed, it cannot have one, since the 
same blob may be associated with multiple different pathnames, and 
multiple different commits.

If you have a particular pathname, you can ask "when was this pathname 
changed last", which is basically

	git-rev-list --max-count=1 HEAD -- Makefile 

but that's not very cheap either.

		Linus

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2006-01-16 19:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-16  1:31 latest blob date (request) Randy.Dunlap
2006-01-16  5:07 ` Paul Mackerras
2006-01-16  5:10   ` gitweb: " Randy.Dunlap
2006-01-16 17:44     ` Kay Sievers
2006-01-16 17:46       ` Randy.Dunlap
2006-01-16 17:55       ` Junio C Hamano
2006-01-16 19:00 ` Linus Torvalds

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).