1. 09 11月, 2006 9 次提交
    • 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
  2. 08 11月, 2006 10 次提交
    • J
      gitweb: minimally fix "fork" support. · 83ee94c1
      Junio C Hamano 提交于
      A forked project is defined to be $projname/$forkname.git for
      $projname.git; the code did not check this correctly and mistook
      $projname/.git to be a fork of itself.  This minimally fixes the
      breakage.
      
      Also forks were not checked when index.aux file was in use.
      Listing the forked ones in index.aux would show them also on the
      toplevel index which may go against the hierarchical nature of
      forks, but again this is a minimal fix to whip it in a better
      shape suitable to be in the 'master' branch.
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      83ee94c1
    • J
      gitweb: fix disabling of "forks" · 5dd5ed09
      Junio C Hamano 提交于
      Apparently this code was never tested without "forks".  check-feature
      returns a one-element list (0) when disabled, and assigning that to a
      scalar variable made it to be called in a scalar context, which meant
      my $check_forks = gitweb_check_feature("forks") were always 1!
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      5dd5ed09
    • J
      GIT 1.4.3-rc1 · baf0bfcb
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      baf0bfcb
    • J
      Merge branch 'maint' · c56f243e
      Junio C Hamano 提交于
      * maint:
        remove an unneeded test
      c56f243e
    • J
      Merge branch 'jc/pickaxe' · 24ad8e0c
      Junio C Hamano 提交于
      24ad8e0c
    • J
      git-pickaxe: allow "-L <something>,+N" · 7bd9641d
      Junio C Hamano 提交于
      With this,
      
      	git pickaxe -L '/--progress/,+20' v1.4.0 -- pack-objects.c
      
      gives you 20 lines starting from the first occurrence of
      '--progress' in pack-objects, digging from v1.4.0 version.
      
      You can also say
      
      	git pickaxe -L '/--progress/,-5' v1.4.0 -- pack-objects.c
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      7bd9641d
    • N
      git-pack-objects progress flag documentation and cleanup · 231f240b
      Nicolas Pitre 提交于
      This adds documentation for --progress and --all-progress, remove a
      duplicate --progress handling and make usage string more readable.
      Signed-off-by: NNicolas Pitre <nico@cam.org>
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      231f240b
    • T
      remove an unneeded test · 0623421b
      Tero Roponen 提交于
      In wt-status.c there is a test which does nothing.
      This patch removes it.
      Signed-off-by: NTero Roponen <teanropo@jyu.fi>
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      0623421b
    • J
      Merge branch 'jc/read-tree' · d0a75a17
      Junio C Hamano 提交于
      * jc/read-tree:
        t6022: ignoring untracked files by merge-recursive when they do not matter
        merge-recursive: adjust to loosened "working file clobbered" check
        merge-recursive: make a few functions static.
        merge-recursive: use abbreviated commit object name.
        merge: loosen overcautious "working file will be lost" check.
      d0a75a17
    • J
      Merge branch 'np/index-pack' · 66f3b35f
      Junio C Hamano 提交于
      * np/index-pack:
        remove .keep pack lock files when done with refs update
        have index-pack create .keep file more carefully
        improve fetch-pack's handling of kept packs
        git-fetch can use both --thin and --keep with fetch-pack now
        Teach receive-pack how to keep pack files based on object count.
        Allow pack header preprocessing before unpack-objects/index-pack.
        Remove unused variable in receive-pack.
        Revert "send-pack --keep: do not explode into loose objects on the receiving end."
        missing small substitution
        Teach git-index-pack how to keep a pack file.
        Only repack active packs by skipping over kept packs.
        Allow short pack names to git-pack-objects --unpacked=.
        send-pack --keep: do not explode into loose objects on the receiving end.
        index-pack: minor fixes to comment and function name
        enhance clone and fetch -k experience
        mimic unpack-objects when --stdin is used with index-pack
        add progress status to index-pack
        make index-pack able to complete thin packs.
        enable index-pack streaming capability
      66f3b35f
  3. 07 11月, 2006 5 次提交
  4. 06 11月, 2006 11 次提交
  5. 05 11月, 2006 5 次提交