1. 06 9月, 2008 7 次提交
  2. 05 9月, 2008 2 次提交
    • J
      Merge branch 'jc/maint-log-grep' · 80d12c23
      Junio C Hamano 提交于
      * jc/maint-log-grep:
        log --author/--committer: really match only with name part
        diff --cumulative is a sub-option of --dirstat
        bash completion: Hide more plumbing commands
      80d12c23
    • J
      log --author/--committer: really match only with name part · a4d7d2c6
      Junio C Hamano 提交于
      When we tried to find commits done by AUTHOR, the first implementation
      tried to pattern match a line with "^author .*AUTHOR", which later was
      enhanced to strip leading caret and look for "^author AUTHOR" when the
      search pattern was anchored at the left end (i.e. --author="^AUTHOR").
      
      This had a few problems:
      
       * When looking for fixed strings (e.g. "git log -F --author=x --grep=y"),
         the regexp internally used "^author .*x" would never match anything;
      
       * To match at the end (e.g. "git log --author='google.com>$'"), the
         generated regexp has to also match the trailing timestamp part the
         commit header lines have.  Also, in order to determine if the '$' at
         the end means "match at the end of the line" or just a literal dollar
         sign (probably backslash-quoted), we would need to parse the regexp
         ourselves.
      
      An earlier alternative tried to make sure that a line matches "^author "
      (to limit by field name) and the user supplied pattern at the same time.
      While it solved the -F problem by introducing a special override for
      matching the "^author ", it did not solve the trailing timestamp nor tail
      match problem.  It also would have matched every commit if --author=author
      was asked for, not because the author's email part had this string, but
      because every commit header line that talks about the author begins with
      that field name, regardleses of who wrote it.
      
      Instead of piling more hacks on top of hacks, this rethinks the grep
      machinery that is used to look for strings in the commit header, and makes
      sure that (1) field name matches literally at the beginning of the line,
      followed by a SP, and (2) the user supplied pattern is matched against the
      remainder of the line, excluding the trailing timestamp data.
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      a4d7d2c6
  3. 04 9月, 2008 15 次提交
  4. 03 9月, 2008 8 次提交
    • J
      Merge branch 'tr/filter-branch' · 01914577
      Junio C Hamano 提交于
      * tr/filter-branch:
        revision --simplify-merges: make it a no-op without pathspec
        revision --simplify-merges: do not leave commits unprocessed
        revision --simplify-merges: use decoration instead of commit->util field
        Documentation: rev-list-options: move --simplify-merges documentation
        filter-branch: use --simplify-merges
        filter-branch: fix ref rewriting with --subdirectory-filter
        filter-branch: Extend test to show rewriting bug
        Topo-sort before --simplify-merges
        revision traversal: show full history with merge simplification
        revision.c: whitespace fix
      01914577
    • J
      Merge branch 'np/maint-safer-pack' · 53b543ab
      Junio C Hamano 提交于
      * np/maint-safer-pack:
        fixup_pack_header_footer(): use nicely aligned buffer sizes
        index-pack: use fixup_pack_header_footer()'s validation mode
        pack-objects: use fixup_pack_header_footer()'s validation mode
        improve reliability of fixup_pack_header_footer()
        pack-objects: improve returned information from write_one()
      53b543ab
    • J
      Merge branch 'rf/man-env' · f3db3667
      Junio C Hamano 提交于
      * rf/man-env:
        builtin-help: fallback to GIT_MAN_VIEWER before man
      f3db3667
    • J
      Merge branch 'jc/author-nickname' · 1c12b386
      Junio C Hamano 提交于
      * jc/author-nickname:
        git commit --author=$name: look $name up in existing commits
      1c12b386
    • J
      Merge branch 'dp/pid-uintmax' · 14e8607c
      Junio C Hamano 提交于
      * dp/pid-uintmax:
        cast pid_t's to uintmax_t to improve portability
      14e8607c
    • G
      gitweb: ref markers link to named shortlogs · 4afbaeff
      Giuseppe Bilotta 提交于
      This patch turns ref markers for tags and heads into links to
      appropriate views for the ref name, depending on current context.
      
      For annotated tags, we link to the tag view, unless that's the current
      view, in which case we switch to shortlog. For other refs, we prefer the
      current view if it's history or (short)log, and default to shortlog
      otherwise.
      
      Appropriate changes are made in the CSS to prevent ref markers from
      being annoyingly blue and underlined, unless hovered. A visual
      indication of the target view difference is also implemented by making
      annotated tags show up in italic.
      Signed-off-by: NGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
      Acked-by: NPetr Baudis <pasky@suse.cz>
      Acked-by: NJakub Narebski <jnareb@gmail.com>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      4afbaeff
    • J
      Merge branch 'maint' · 106db883
      Junio C Hamano 提交于
      * maint:
        Makefile: add merge_recursive.h to LIB_H
        Improve documentation for --dirstat diff option
        Bring local clone's origin URL in line with that of a remote clone
        Documentation: minor cleanup in a use case in 'git stash' manual
        Documentation: fix disappeared lines in 'git stash' manpage
        Documentation: fix reference to a for-each-ref option
      106db883
    • M
      Makefile: add merge_recursive.h to LIB_H · db3a9545
      Miklos Vajna 提交于
      When modifying merge-recursive.h, for example builtin-merge-recursive.c
      have to be recompiled which was not true till now, causing various
      runtime errors using an incremental build.
      Signed-off-by: NMiklos Vajna <vmiklos@frugalware.org>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      db3a9545
  5. 02 9月, 2008 5 次提交
  6. 01 9月, 2008 3 次提交