1. 15 11月, 2006 1 次提交
  2. 14 11月, 2006 4 次提交
  3. 13 11月, 2006 1 次提交
  4. 12 11月, 2006 5 次提交
  5. 11 11月, 2006 2 次提交
  6. 10 11月, 2006 8 次提交
  7. 09 11月, 2006 10 次提交
    • J
      gitweb: fix unmatched div in commitdiff · 1c791cfb
      Junio C Hamano 提交于
      When the last filepair changed only metainfo we failed to close the
      extended header <div>.
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      1c791cfb
    • J
      gitweb: protect commit messages from controls. · 225932ed
      Junio C Hamano 提交于
      The same change as the previous.  It is rather sad that commit log
      message parser gives list of chomped lines while tag message parser
      gives unchomped ones.
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      225932ed
    • J
      gitweb: protect blob and diff output lines from controls. · 25ffbb27
      Junio C Hamano 提交于
      This revealed that the output from blame and tag was not chomped
      properly and was relying on HTML output not noticing that extra
      whitespace that resulted from the newline, which was also fixed.
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      25ffbb27
    • J
      git-pickaxe: retire pickaxe · acca687f
      Junio C Hamano 提交于
      Just make it take over blame's place.  Documentation and command
      have all stopped mentioning "git-pickaxe".  The built-in synonym
      is left in the command table, so you can still say "git pickaxe",
      but it probably is a good idea to retire it as well.
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      acca687f
    • J
      Merge git://git.kernel.org/pub/scm/gitk/gitk · 659db3f6
      Junio C Hamano 提交于
      * git://git.kernel.org/pub/scm/gitk/gitk:
        [PATCH] gitk: Fix nextfile() and add prevfile()
      659db3f6
    • J
      git-status: quote LF in its output · 3a946802
      Junio C Hamano 提交于
      Otherwise, commit log template would get the remainder of the
      filename start on a new line unquoted and the log gets messed
      up.
      
      I initially considered using the full quote_c_style(), but the
      output from the command is primarily for human consumption so
      chose to leave other control characters and bytes with high-bits
      unmolested.
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      3a946802
    • J
      2b2a8c78
    • J
      gitweb: New improved patchset view · 744d0ac3
      Jakub Narebski 提交于
      Replace "gitweb diff header" with its full sha1 of blobs and replace
      it by "git diff" header and extended diff header. Change also somewhat
      highlighting of diffs.
      
      Added `file_type_long' subroutine to convert file mode in octal to
      file type description (only for file modes which used by git).
      
      Changes:
      * "gitweb diff header" which looked for example like below:
          file:_<sha1 before>_ -> file:_<sha1 after>_
        where 'file' is file type and '<sha1>' is full sha1 of blob is
        changed to
          diff --git _a/<file before>_ _b/<file after>_
        In both cases links are visible and use default link style. If file
        is added, a/<file> is not hyperlinked. If file is deleted, b/<file>
        is not hyperlinked.
      * there is added "extended diff header", with <path> and <hash>
        hyperlinked (and <hash> shortened to 7 characters), and <mode>
        explained: '<mode>' is extended to '<mode> (<file type description>)',
        where added text is slightly lighter to easy distinguish that it
        was added (and it is difference from git-diff output).
      * from-file/to-file two-line header lines have slightly darker color
        than removed/added lines.
      * chunk header has now delicate line above for easier finding chunk
        boundary, and top margin of 2px, both barely visible.
      Signed-off-by: NJakub Narebski <jnareb@gmail.com>
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      744d0ac3
    • J
      gitweb: Use character or octal escape codes (and add span.cntrl) in esc_path · 1d3bc0cc
      Jakub Narebski 提交于
      Instead of simply hiding control characters in esc_path by replacing
      them with '?', use Character Escape Codes (CEC) i.e. alphabetic
      backslash sequences like those found in C programming language and
      many other languages influenced by it, such as Java and Perl.  If
      control characted doesn't have corresponding character escape code,
      use octal char sequence to escape it.
      
      Alternatively, controls can be replaced with Unicode Control
      Pictures U+2400 - U+243F (9216 - 9279), the Unicode characters
      reserved for representing control characters when it is
      necessary to print or display them.
      Signed-off-by: NJakub Narebski <jnareb@gmail.com>
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      1d3bc0cc
    • J
      gitweb: Better git-unquoting and gitweb-quoting of pathnames · 403d0906
      Jakub Narebski 提交于
      Extend unquote subroutine, which unquotes quoted and escaped filenames
      which git may return, to deal not only with octal char sequence
      quoting, but also quoting ordinary characters including '\"' and '\\'
      which are respectively quoted '"' and '\', and to deal also with
      C escape sequences including '\t' for TAB and '\n' for LF.
      
      Add esc_path subroutine for gitweb quoting and HTML escaping filenames
      (currently it does equivalent of ls' --hide-control-chars, which means
      showing undisplayable characters (including '\n' and '\t') as '?'
      (question mark) character, and use 'span' element with cntrl CSS class
      to help rendering them differently.
      
      Convert gitweb to use esc_path correctly to print pathnames.
      Signed-off-by: NJakub Narebski <jnareb@gmail.com>
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      403d0906
  8. 08 11月, 2006 9 次提交