Re: Summary of core GIT while you are away.
- From
- Kay Sievers <kay.sievers@vrfy.org>
- Date
- May 26, 2005, 23:59 UTC
- Message-ID
- <20050526235944.GB6215@vrfy.org>
- In-Reply-To
- <7vy8a18w1e.fsf@assigned-by-dhcp.cox.net>
On Thu, May 26, 2005 at 03:25:17PM -0700, Junio C Hamano wrote:
Show 8 quoted lines
> >>>>> "KS" == Kay Sievers <kay.sievers@vrfy.org> writes: > > KS> Nice, thanks. Here is a very first try. It searches the commit messages > KS> and uses pickaxe to search in the file content: > KS> http://ehlo.org/~kay/gitweb.cgi?p=git/git.git;a=search;s=symlink > > Nice, thanks for using pickaxe ;-). One request, knowing well > that what you have on ehlo is your first cut.
Yeah, I like it a lot. Nice work.
Any idea, what's the reason, it doesn't find anything here in the kernel tree: git-rev-list HEAD | git-diff-tree -S'TIMEOUT' --stdin
while: git-rev-list --header HEAD | grep -z TIMEOUT
prints the commit: 6897089c5f7989603ccb9c696050470ba1dbd262
with the following change:
git-diff-tree -p 6897089c5f7989603ccb9c696050470ba1dbd262 6f31e42221c7deae4527136ce0dd73990d8bc1d1
diff --git a/drivers/base/firmware_class.c
b/drivers/base/firmware_class.c
--- a/drivers/base/firmware_class.c
+++ b/drivers/base/firmware_class.c
@@ -102,9 +102,6 @@ firmware_class_hotplug(struct class_devi
if (add_hotplug_env_var(envp, num_envp, &i, buffer, buffer_size, &len,
"FIRMWARE=%s", fw_priv->fw_id))
return -ENOMEM;
- if (add_hotplug_env_var(envp, num_envp, &i, buffer, buffer_size,
&len,
- "TIMEOUT=%i", loading_timeout))
- return -ENOMEM;
envp[i] = NULL;Show 12 quoted lines
> The pickaxe really shines when you can paste a couple of lines > of code in the version you are having trouble with (or just you > are curious about) in order to see where they came from. For > example, I did an equivalent of the following command back to > figure out which patch and author to give credit to when I stole > the tagged output format for git-ls-files from Cogito branch: > > git-rev-list pasky | > git-diff-tree -v -p --stdin \ > -S'static const char *tag_cached = ""; > static const char *tag_unmerged = ""; > static const char *tag_removed = "";'
Nice feature, maybe we can add it later (see next).
> Since this is primarily about program code, forbidding '*' is > rather nasty, and not being able to do multiple lines makes it > quite less useful than it could be.
I see what you mean, but allow to pass any charater through a cgi to a invoked shell as a command-line option is a nightmare without being very carful. That's why only a few character allowed now. I'm not sure how to do that without creating possibly a big hole in the webserver. :)
Kay