summaryrefslogtreecommitdiff
path: root/git-annotate.perl
AgeCommit message (Collapse)AuthorFilesLines
2006-08-07annotate: Fix bug when parsing merges with differing real and logical parents.Libravatar Ryan Anderson1-6/+122
Signed-off-by: Ryan Anderson <ryan@michonline.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
2006-08-02git-annotate: remove extraneous debugging lineLibravatar Jeff King1-1/+0
Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <junkio@cox.net>
2006-07-03annotate: Correct most merge following to annotate correctly.Libravatar Ryan Anderson1-58/+139
There is still a bug involving octopus merges, somewhere, but this gets normal merges correct, so it's still an improvement over the existing version. Signed-off-by: Ryan Anderson <ryan@michonline.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
2006-04-28annotate: display usage information if no filename was givenLibravatar Matthias Kestenholz1-3/+4
Signed-off-by: Matthias Kestenholz <matthias@spinlock.ch>
2006-04-28annotate: fix warning about uninitialized scalarLibravatar Matthias Kestenholz1-0/+3
Use of uninitialized value in scalar chomp at ./git-annotate.perl line 212, <$kid> chunk 4. Signed-off-by: Matthias Kestenholz <matthias@spinlock.ch>
2006-03-11annotate.perl triggers rpm bugLibravatar sean1-1/+1
RPM, at least on Fedora boxes, automatically creates a dependency for any perl "use" lines, and one of the help text lines unfortunately begins like this: -S, --rev-file revs-file use revs from revs-file instead of calling git-rev-list RPM gets confused and creates a false dependecy for the nonexistent perl package "revs". Obviously this creates a problem when someone goes to install the git-core rpm. Since other help sentences all start with capital letter, make this one match them by upcasing "Use". As a side effect, RPM stops getting confused. Signed-off-by: Junio C Hamano <junkio@cox.net>
2006-03-05annotate: Support annotation of files on other revisions.Libravatar Ryan Anderson1-2/+4
This is a bug fix, and cleans up one or two other things spotted during the course of tracking down the main bug here. [jc: the part that updates test-suite is split out to the next one. Also I dropped "use Data::Dumper;" which seemed leftover from debugging session.] Signed-off-by: Ryan Anderson <ryan@michonline.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
2006-03-05blame and annotate: show localtime with timezone.Libravatar Junio C Hamano1-1/+7
Earlier they showed gmtime and timezone, which was inconsistent with the way our commits and tags are pretty-printed. Signed-off-by: Junio C Hamano <junkio@cox.net>
2006-03-03annotate should number lines starting with 1Libravatar Luck, Tony1-1/+1
C programmers are well used to counting from zero, but every other text file tool starts counting from 1. Signed-off-by: Tony Luck <tony.luck@intel.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
2006-03-02annotate: resurrect raw timestamps.Libravatar Junio C Hamano1-2/+7
For scripted use this is quite useful. Signed-off-by: Junio C Hamano <junkio@cox.net>
2006-03-01annotate: fix -S parameter to take a stringLibravatar Martin Langhoff1-2/+3
In the conversion to Getopt::Long, the -S / --rev-list parameter stopped working. We need to tell Getopt::Long that it is a string. As a bonus, the open() now does some useful error handling. Signed-off-by: Martin Langhoff <martin@catalyst.net.nz> Signed-off-by: Junio C Hamano <junkio@cox.net>
2006-03-01annotate: handle \No newline at end of file.Libravatar Ryan Anderson1-0/+6
Signed-off-by: Ryan Anderson <ryan@michonline.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
2006-02-26annotate: Use qx{} for pipes on activestate.Libravatar Ryan Anderson1-1/+42
Note: This needs someone to tell me what the value of $^O is on ActiveState. Signed-off-by: Ryan Anderson <ryan@michonline.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
2006-02-26annotate: Convert all -| calls to use a helper open_pipe().Libravatar Ryan Anderson1-29/+44
When we settle on a solution for ActiveState's forking issues, all compatibility checks can be handled inside this one function. Also, fixed an abuse of global variables in the process of cleaning this up. Signed-off-by: Ryan Anderson <ryan@michonline.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
2006-02-26annotate: Handle dirty state and arbitrary revisions.Libravatar Ryan Anderson1-37/+113
Also, use Getopt::Long and only process each rev once. (Thanks to Morten Welinder for spotting the performance problems.) Signed-off-by: Ryan Anderson <ryan@michonline.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
2006-02-22Use Ryan's git-annotate instead of jsannotateLibravatar Johannes Schindelin1-5/+40
Since Ryan's git-annotate is much faster, and has support for renames, it is likely it goes into the mainstream git soon. Adapt it a little to work with gitcvs, and actually use it. Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de> Signed-off-by: Junio C Hamano <junkio@cox.net>
2006-02-20Add git-annotate, a tool for assigning blame.Libravatar Ryan Anderson1-0/+321
Signed-off-by: Ryan Anderson <ryan@michonline.com> Signed-off-by: Junio C Hamano <junkio@cox.net>