1. 26 6月, 2014 13 次提交
    • J
      Merge branch 'jm/dedup-name-compare' · 59707231
      Junio C Hamano 提交于
      * jm/dedup-name-compare:
        cleanup duplicate name_compare() functions
        name-hash.c: replace cache_name_compare() with memcmp(3)
      59707231
    • J
      Merge branch 'ep/avoid-test-a-o' · e5685724
      Junio C Hamano 提交于
      Update tests and scripts to avoid "test ... -a ...", which is often
      more error-prone than "test ... && test ...".
      
      Squashed misconversion fix-up into git-submodule.sh updates.
      
      * ep/avoid-test-a-o:
        git-submodule.sh: avoid "echo" path-like values
        git-submodule.sh: avoid "test <cond> -a/-o <cond>"
        t/test-lib-functions.sh: avoid "test <cond> -a/-o <cond>"
        t/t9814-git-p4-rename.sh: avoid "test <cond> -a/-o <cond>"
        t/t5538-push-shallow.sh: avoid "test <cond> -a/-o <cond>"
        t/t5403-post-checkout-hook.sh: avoid "test <cond> -a/-o <cond>"
        t/t5000-tar-tree.sh: avoid "test <cond> -a/-o <cond>"
        t/t4102-apply-rename.sh: avoid "test <cond> -a/-o <cond>"
        t/t0026-eol-config.sh: avoid "test <cond> -a/-o <cond>"
        t/t0025-crlf-auto.sh: avoid "test <cond> -a/-o <cond>"
        t/lib-httpd.sh: avoid "test <cond> -a/-o <cond>"
        git-rebase--interactive.sh: avoid "test <cond> -a/-o <cond>"
        git-mergetool.sh: avoid "test <cond> -a/-o <cond>"
        git-bisect.sh: avoid "test <cond> -a/-o <cond>"
        contrib/examples/git-resolve.sh: avoid "test <cond> -a/-o <cond>"
        contrib/examples/git-repack.sh: avoid "test <cond> -a/-o <cond>"
        contrib/examples/git-merge.sh: avoid "test <cond> -a/-o <cond>"
        contrib/examples/git-commit.sh: avoid "test <cond> -a/-o <cond>"
        contrib/examples/git-clone.sh: avoid "test <cond> -a/-o <cond>"
        check_bindir: avoid "test <cond> -a/-o <cond>"
      e5685724
    • J
      Merge branch 'tb/unicode-7.0-display-width' · 5b9b715f
      Junio C Hamano 提交于
      * tb/unicode-7.0-display-width:
        Update of unicode_width.h to Unicode Version 7.0
      5b9b715f
    • J
      Merge branch 'ye/doc-http-proto' · ccca6b65
      Junio C Hamano 提交于
      * ye/doc-http-proto:
        http-protocol.txt: Basic Auth is defined in RFC 2617, not RFC 2616
      ccca6b65
    • J
      Merge branch 'rs/blame-refactor' · 8d87e35b
      Junio C Hamano 提交于
      * rs/blame-refactor:
        blame: simplify prepare_lines()
        blame: factor out get_next_line()
      8d87e35b
    • J
      Merge branch 'pb/trim-trailing-spaces' · 35869f4c
      Junio C Hamano 提交于
      * pb/trim-trailing-spaces:
        t0008: do not depend on 'echo' handling backslashes specially
      35869f4c
    • J
      Merge branch 'mc/doc-submodule-sync-recurse' · b47761dd
      Junio C Hamano 提交于
      * mc/doc-submodule-sync-recurse:
        submodule: document "sync --recursive"
      b47761dd
    • J
      Merge branch 'sp/complete-ext-alias' · af6ba0eb
      Junio C Hamano 提交于
      * sp/complete-ext-alias:
        completion: handle '!f() { ... }; f' and "!sh -c '...' -" aliases
      af6ba0eb
    • J
      Merge branch 'mc/git-p4-prepare-p4-only' · 2a20f4b7
      Junio C Hamano 提交于
      * mc/git-p4-prepare-p4-only:
        git-p4: fix submit in non --prepare-p4-only mode
      2a20f4b7
    • J
      Merge branch 'jk/repack-pack-writebitmaps-config' · 25f31190
      Junio C Hamano 提交于
      * jk/repack-pack-writebitmaps-config:
        t7700: drop explicit --no-pack-kept-objects from .keep test
        repack: introduce repack.writeBitmaps config option
        repack: simplify handling of --write-bitmap-index
        pack-objects: stop respecting pack.writebitmaps
      25f31190
    • J
      Merge branch 'nd/init-restore-env' · b30adaac
      Junio C Hamano 提交于
      Some subcommands do not want to be aliased because of the side
      effects that happens while the definitions of the aliases are looked
      up from configuration system.
      
      * nd/init-restore-env:
        git potty: restore environments after alias expansion
      b30adaac
    • J
      Merge branch 'jk/repack-pack-keep-objects' · b7ce5836
      Junio C Hamano 提交于
      Recent updates to "git repack" started to duplicate objects that
      are in packfiles marked with .keep flag into the new packfile by
      mistake.
      
      * jk/repack-pack-keep-objects:
        repack: s/write_bitmap/&s/ in code
        repack: respect pack.writebitmaps
        repack: do not accidentally pack kept objects by default
      b7ce5836
    • J
      Merge branch 'fr/sequencer-fail-with-not-one-upon-no-ff' · 9ce7100b
      Junio C Hamano 提交于
      * fr/sequencer-fail-with-not-one-upon-no-ff:
        sequencer: signal failed ff as an aborted, not a conflicted merge
      9ce7100b
  2. 21 6月, 2014 10 次提交
    • J
      Fourth batch for 2.1 · 786a89d3
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      786a89d3
    • J
      Merge branch 'jc/test-lazy-prereq' (early part) · bf80b8a6
      Junio C Hamano 提交于
      * 'jc/test-lazy-prereq' (early part):
        t3419: drop unnecessary NOT_EXPENSIVE pseudo-prerequisite
        t3302: drop unnecessary NOT_EXPENSIVE pseudo-prerequisite
        t3302: do not chdir around in the primary test process
        t3302: coding style updates
        test: turn USR_BIN_TIME into a lazy prerequisite
        test: turn EXPENSIVE into a lazy prerequisite
      bf80b8a6
    • J
      Merge branch 'jc/fetch-pull-refmap' · a668853c
      Junio C Hamano 提交于
      * jc/fetch-pull-refmap:
        docs: Explain the purpose of fetch's and pull's <refspec> parameter.
        fetch: allow explicit --refmap to override configuration
        fetch doc: add a section on configured remote-tracking branches
        fetch doc: remove "short-cut" section
        fetch doc: update refspec format description
        fetch doc: on pulling multiple refspecs
        fetch doc: remove notes on outdated "mixed layout"
        fetch doc: update note on '+' in front of the refspec
        fetch doc: move FETCH_HEAD material lower and add an example
        fetch doc: update introductory part for clarity
      a668853c
    • J
      Merge branch 'mt/send-email-cover-to-cc' · 9fe49ae7
      Junio C Hamano 提交于
      * mt/send-email-cover-to-cc:
        t9001: avoid non-portable '\n' with sed
        test/send-email: to-cover, cc-cover tests
        git-send-email: two new options: to-cover, cc-cover
      9fe49ae7
    • J
      Merge branch 'tb/t5551-clone-notice-to-stderr' · 7402a1c1
      Junio C Hamano 提交于
      * tb/t5551-clone-notice-to-stderr:
        t5551: fix the 50,000 tag test
      7402a1c1
    • J
      Merge branch 'rs/more-starts-with' · fa820374
      Junio C Hamano 提交于
      * rs/more-starts-with:
        Use starts_with() for C strings instead of memcmp()
      fa820374
    • J
      Merge branch 'jm/api-strbuf-doc' · 9ba66403
      Junio C Hamano 提交于
      * jm/api-strbuf-doc:
        api-strbuf.txt minor typos
      9ba66403
    • J
      Merge branch 'jc/revision-dash-count-parsing' · 7a3b4e3b
      Junio C Hamano 提交于
      "git log -2master" is a common typo that shows two commits starting
      from whichever random branch that is not 'master' that happens to
      be checked out currently.
      
      * jc/revision-dash-count-parsing:
        revision: parse "git log -<count>" more carefully
      7a3b4e3b
    • J
      cleanup duplicate name_compare() functions · ccdd4a0f
      Jeremiah Mahler 提交于
      We often represent our strings as a counted string, i.e. a pair of
      the pointer to the beginning of the string and its length, and the
      string may not be NUL terminated to that length.
      
      To compare a pair of such counted strings, unpack-trees.c and
      read-cache.c implement their own name_compare() functions
      identically.  In addition, the cache_name_compare() function in
      read-cache.c is nearly identical.  The only difference is when one
      string is the prefix of the other string, in which case
      name_compare() returns -1/+1 to show which one is longer, and
      cache_name_compare() returns the difference of the lengths to show
      the same information.
      
      Unify these three functions by using the implementation from
      cache_name_compare().  This does not make any difference to the
      existing and future callers, as they must be paying attention only
      to the sign of the returned value (and not the magnitude) because
      the original implementations of these two functions return values
      returned by memcmp(3) when the one string is not a prefix of the
      other string, and the only thing memcmp(3) guarantees its callers is
      the sign of the returned value, not the magnitude.
      Signed-off-by: NJeremiah Mahler <jmmahler@gmail.com>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      ccdd4a0f
    • J
      name-hash.c: replace cache_name_compare() with memcmp(3) · be99ec97
      Jeremiah Mahler 提交于
      The same_name() private function wants a quick-and-exact check to
      see if they two names are byte-for-byte identical first and then
      fall back to the slow path.  Use memcmp(3) for the former to make it
      clear that we do not want any "name" specific comparison.
      Signed-off-by: NJeremiah Mahler <jmmahler@gmail.com>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      be99ec97
  3. 20 6月, 2014 2 次提交
  4. 19 6月, 2014 1 次提交
  5. 17 6月, 2014 14 次提交