login
Header Space

 
 

Re: [PATCH] Add git-annotate - a tool for annotating files with the revision and person that created each line in the file.

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Ryan Anderson <ryan@...>
Cc: Junio C Hamano <junkio@...>, <git@...>
Date: Wednesday, February 8, 2006 - 3:09 pm

On Wed, 8 Feb 2006, Ryan Anderson wrote:

Hmm.. I get

   [torvalds@g5 git]$ ./git-annotate Makefile
   fatal: 'e83c5163316f89bfbde7d9ab23ca2e25604af290^1..e83c5163316f89bfbde7d9ab23ca2e25604af290': No such file or directory
   Undefined subroutine &main::all_lines_claimed called at ./git-annotate line 124.

where that fatal error is because e83c51.. doesn't _have_ a parent, it's 
the root (so doing ^1 on it doesn't work).

After fixing the "all_lines_claimed" problem as outlined by Dscho, I get a 
lot of

	Skipping diff-parse - i = filelines)

and no actual output.

Doing it on a file that didn't exist in the root commit still have those 
"Skipping" messages, but at least it did actually output something. 

However, what it output was clearly not correct, so there's still some 
tweaking to do.

For example, doing

	./git-annotate apply.c

annotates most of that file to Junio's commit 1c15afb9, which is totally 
incorrect, that commit actually only changed a few lines.

So it looks like there's still some work to be done on this..

			Linus
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] Add git-annotate - a tool for annotating files w..., Linus Torvalds, (Wed Feb 8, 3:09 pm)
Re: [PATCH] Add git-annotate - a tool for annotating files w..., Randal L. Schwartz, (Wed Feb 8, 2:47 pm)
Re: [PATCH] Add git-annotate - a tool for annotating files w..., Johannes Schindelin, (Wed Feb 8, 1:45 pm)
Re: [PATCH] Add git-annotate - a tool for annotating files w..., Johannes Schindelin, (Wed Feb 8, 12:05 pm)
speck-geostationary