1. 12 10月, 2006 3 次提交
  2. 11 10月, 2006 1 次提交
  3. 10 10月, 2006 1 次提交
  4. 06 10月, 2006 11 次提交
    • J
      gitweb: use blame --porcelain · eeef88cd
      Junio C Hamano 提交于
      This makes gitweb (git_blame2) use "blame --porcelain", which
      lets the caller to figure out which line in the original version
      each line comes from.  Using this information, change the
      behaviour of clicking the line number to go to the line of the
      blame output for the original commit.
      
      Before, clicking the line number meant "scoll up to show this
      line at the beginning of the page", which was not all that
      useful.  The new behaviour lets you click on the line you are
      interested in to view the line in the context it was introduced,
      and keep digging deeper as you examine it.
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      eeef88cd
    • J
      Merge branch 'jc/blame' into jc/web-blame · 4b4a5dbb
      Junio C Hamano 提交于
      * jc/blame:
        git-blame --porcelain
        blame.c: move code to output metainfo into a separate function.
        git-blame: --show-number (and -n)
        git-blame: --show-name (and -f)
        blame.c: whitespace and formatting clean-up.
        gitweb: Make the Git logo link target to point to the homepage
        gitweb: blame: Minimize vertical table row padding
        gitweb: Do not print "log" and "shortlog" redundantly in commit view
        vc-git.el: Switch to using git-blame instead of git-annotate.
        git.el: Fixed inverted "renamed from/to" message.
        tar-tree deprecation: we eat our own dog food.
        Add git-upload-archive to the main git man page
        git-commit: cleanup unused function.
        Fix usage string to match that given in the man page
        Update the gitweb/README file to include setting the GITWEB_CONFIG environment
      
      Conflicts:
      
      	gitweb/gitweb.perl
      4b4a5dbb
    • J
      git-blame --porcelain · b5c698d9
      Junio C Hamano 提交于
      The new option makes the command's native output format to emit
      output that is easier to handle by Porcelain.
      
      Each line is output after a header.  The header at the minimum
      has the first line which has:
      
       - 40-byte SHA-1 of the commit the line is attributed to;
      
       - the line number of the line in the original file;
      
       - the line number of the line in the final file;
      
       - on a line that starts a group of line from a different commit
         than the previous one, the number of lines in this group.  On
         subsequent lines this field is absent.
      
      This header line is followed by the following information once
      for each commit:
      
       - author name ("author"), email ("author-mail"), time
         ("author-time"), and timezone ("author-tz"); similarly for
         committer.
      
       - filename in the commit the line is attributed to.
      
       - the first line of the commit log message ("summary").
      
      The contents of the actual line is output after the above
      header, prefixed by a TAB. This is to allow adding more header
      elements later.
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      b5c698d9
    • J
      blame.c: move code to output metainfo into a separate function. · c137f40f
      Junio C Hamano 提交于
      This does not change any behaviour, but just separates out the
      code to emit the initial part of the output of each line into a
      separate function, since I'll be mucking with it further.
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      c137f40f
    • J
      git-blame: --show-number (and -n) · cf54a029
      Junio C Hamano 提交于
      The new option makes the command's native output format show the
      original line number in the blamed revision.
      
      Note: the current implementation of find_orig_linenum involves
      linear search through the line_map array every time.  It should
      probably build a reverse map upfront and do a simple look-up to
      speed things up, but I'll leave it to more clever and beautiful
      people ;-).
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      cf54a029
    • J
      git-blame: --show-name (and -f) · eb93b724
      Junio C Hamano 提交于
      The new option makes the command's native output format show the
      filename even when there were no renames in its history, to make
      it simpler for Porcelains to parse its output.
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      eb93b724
    • J
      blame.c: whitespace and formatting clean-up. · 506e49ff
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      506e49ff
    • J
      gitweb: Make the Git logo link target to point to the homepage · 51a7c66a
      Junio C Hamano 提交于
      It provides more useful information for causual Git users than the Git docs
      (especially about where to get Git and such).
      
      People can override with GITWEB_CONFIG if they want to.
      Signed-off-by: NPetr Baudis <pasky@suse.cz>
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      Acked-by: NPetr Baudis <pasky@suse.cz>
      51a7c66a
    • L
      gitweb: blame: Minimize vertical table row padding · db94b41a
      Luben Tuikov 提交于
      Minimize vertical table row padding for blame only.  I
      discovered this while having the browser's blame output
      right next to my editor's window, only to notice how much
      vertically stretched the blame output was.
      
      Blame most likely shows source code and is in this way
      more "spartan" than the rest of the tables gitweb shows.
      
      This patch makes the blame table more vertically compact,
      thus being closer to what you'd see in your editor's window,
      as well as reusing more window estate to show more
      information (which in turn minimizes scrolling).
      Signed-off-by: NLuben Tuikov <ltuikov@yahoo.com>
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      db94b41a
    • L
      gitweb: Do not print "log" and "shortlog" redundantly in commit view · 6e0e92fd
      Luben Tuikov 提交于
      Do not print "log" and "shortlog" redundantly in commit
      view.  This is passed into the $extra argument of
      git_print_page_nav from git_commit, but git_print_page_nav
      prints "log" and "shortlog" already with the same head.
      
      Noticed by Junio.
      Signed-off-by: NLuben Tuikov <ltuikov@yahoo.com>
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      6e0e92fd
    • A
  5. 05 10月, 2006 7 次提交
  6. 04 10月, 2006 3 次提交
  7. 03 10月, 2006 7 次提交
  8. 02 10月, 2006 4 次提交
  9. 01 10月, 2006 3 次提交
    • J
      GIT 1.4.3-rc1 · 1965efb1
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      1965efb1
    • J
      Merge branch 'maint' · 284fe4be
      Junio C Hamano 提交于
      * maint:
        git-diff -B output fix.
        Fix git-am safety checks
        Fix duplicate xmalloc in builtin-add
      284fe4be
    • J
      Merge branch 'jc/gitpm' · 69de8cc8
      Junio C Hamano 提交于
      * jc/gitpm: (52 commits)
        Remove -fPIC which was only needed for Git.xs
        Git.pm: Kill Git.xs for now
        Revert "Make it possible to set up libgit directly (instead of from the environment)"
        Revert "Git.pm: Introduce fast get_object() method"
        Revert "Convert git-annotate to use Git.pm"
        Fix compilation with Sun CC
        pass DESTDIR to the generated perl/Makefile
        Eliminate Scalar::Util usage from private-Error.pm
        Convert git-annotate to use Git.pm
        Git.pm: Introduce fast get_object() method
        Make it possible to set up libgit directly (instead of from the environment)
        Work around sed and make interactions on the backslash at the end of line.
        Git.pm: Introduce ident() and ident_person() methods
        Convert git-send-email to use Git.pm
        Git.pm: Add config() method
        Use $GITPERLLIB instead of $RUNNING_GIT_TESTS and centralize @inc munging
        INSTALL: a tip for running after building but without installing.
        Perly Git: make sure we do test the freshly built one.
        Git.pm: Don't #define around die
        Git.xs: older perl do not know const char *
        ...
      69de8cc8