git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Random patches from my tree
@ 2008-10-27 20:05 Linus Torvalds
  2008-10-27 20:06 ` [PATCH 1/2] Add file delete/create info when we overflow rename_limit Linus Torvalds
  2008-10-27 20:37 ` [PATCH 0/2] Random patches from my tree Linus Torvalds
  0 siblings, 2 replies; 14+ messages in thread
From: Linus Torvalds @ 2008-10-27 20:05 UTC (permalink / raw)
  To: Git Mailing List, Junio C Hamano


Ok, here's two random patches that I have in my git tree that may or may 
not be interesting.

The first one is something I did a long time ago because I was irritated 
by the "skipping inexact rename detection" message not really telling me 
_why_ it did so - just "too many files". So it just adds the information 
about number of deleted and created files.

The second one was something I whipped up due to the discussion about 
"which branch is a commit from". It adds a "--source" flag to the log 
command family, which then makes the revision walker save off the name of 
the commit in the '->util' field, and makes 'show_decorations()' show it.

So the second one allows things like

	git log --pretty=oneline --source --all

and it gives a somewhat useful view of which branch some commit came in 
on, by just showing _which_ of the references was the one that reached 
a particular commit first.

Of course, with commits that are reached multiple ways the whole notion of 
"which one reached us" is ambiguous, and it just picks one rather than 
building up any list of them. The first name we reach somethign through 
is the one that a commit sticks with. That's generally what you want.

I guess we should have a "--pretty=format" thing for it too, and maybe you 
want to support it for 'git rev-list' as well, but that's for others to 
decide - it people think it's useful.

			Linus

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

end of thread, other threads:[~2008-10-28 20:28 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-27 20:05 [PATCH 0/2] Random patches from my tree Linus Torvalds
2008-10-27 20:06 ` [PATCH 1/2] Add file delete/create info when we overflow rename_limit Linus Torvalds
2008-10-27 20:07   ` [PATCH 2/2] Add a 'source' decorator for commits Linus Torvalds
2008-10-28  5:45     ` Jeff King
2008-10-28 13:11       ` Pierre Habouzit
2008-10-28 13:19         ` Pierre Habouzit
2008-10-28 19:46         ` Jeff King
2008-10-28 19:53           ` Jeff King
2008-10-28 20:09           ` Pierre Habouzit
2008-10-28 20:27             ` Jeff King
2008-10-28 15:17       ` Linus Torvalds
2008-10-28 17:21         ` Linus Torvalds
2008-10-28 19:29         ` Jeff King
2008-10-27 20:37 ` [PATCH 0/2] Random patches from my tree 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).