1. 11 9月, 2010 4 次提交
  2. 10 9月, 2010 8 次提交
  3. 09 9月, 2010 6 次提交
  4. 08 9月, 2010 2 次提交
    • J
      Merge branch 'en/d-f-conflict-fix' · 9f44723d
      Junio C Hamano 提交于
      * en/d-f-conflict-fix:
        fast-export: ensure that a renamed file is printed after all references
      9f44723d
    • J
      fast-export: ensure that a renamed file is printed after all references · 4ce6fb80
      Johannes Sixt 提交于
      t9350 sets up a commit where a file is both copied and renamed. The output
      of fast-export for this commit should look like this:
      
        author ...
        committer ...
        from :19
        C "file2" "file4"
        R "file2" "file5"
      
      The order of the two modification lines is derived from the result that
      the diff machinery produces.
      
      060df624 (fast-export: Fix output order of D/F changes) inserted a qsort
      call that modifies the order of the diff result. Unfortunately, qsort need
      not be stable. Therefore, it is possible that the 'R' line appears before
      the 'C' line and the resulting fast-import stream is incorrect.
      
      Fix it by forcing that the rename entry is printed after all other
      modification lines with the same file name.
      Signed-off-by: NJohannes Sixt <j6t@kdbg.org>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      4ce6fb80
  5. 07 9月, 2010 6 次提交
  6. 06 9月, 2010 5 次提交
  7. 04 9月, 2010 9 次提交
    • J
      Merge branch 'jl/submodule-ignore-diff' · 02377cf4
      Junio C Hamano 提交于
      * jl/submodule-ignore-diff:
        checkout: Use submodule.*.ignore settings from .git/config and .gitmodules
        checkout: Add test for diff.ignoreSubmodules
        checkout: respect diff.ignoreSubmodules setting
      
      Conflicts:
      	builtin/checkout.c
      02377cf4
    • J
      Merge branch 'ab/test-2' · a2c67264
      Junio C Hamano 提交于
      * ab/test-2: (51 commits)
        tests: factor HOME=$(pwd) in test-lib.sh
        test-lib: use subshell instead of cd $new && .. && cd $old
        tests: simplify "missing PREREQ" message
        t/t0000-basic.sh: Run the passing TODO test inside its own test-lib
        test-lib: Allow overriding of TEST_DIRECTORY
        test-lib: Use "$GIT_BUILD_DIR" instead of "$TEST_DIRECTORY"/../
        test-lib: Use $TEST_DIRECTORY or $GIT_BUILD_DIR instead of $(pwd) and ../
        test: Introduce $GIT_BUILD_DIR
        cvs tests: do not touch test CVS repositories shipped with source
        t/t9602-cvsimport-branches-tags.sh: Add a PERL prerequisite
        t/t9601-cvsimport-vendor-branch.sh: Add a PERL prerequisite
        t/t7105-reset-patch.sh: Add a PERL prerequisite
        t/t9001-send-email.sh: convert setup code to tests
        t/t9001-send-email.sh: change from skip_all=* to prereq skip
        t/t9001-send-email.sh: Remove needless PROG=* assignment
        t/t9600-cvsimport.sh: change from skip_all=* to prereq skip
        lib-patch-mode tests: change from skip_all=* to prereq skip
        t/t3701-add-interactive.sh: change from skip_all=* to prereq skip
        tests: Move FILEMODE prerequisite to lib-prereq-FILEMODE.sh
        t/Makefile: Create test-results dir for smoke target
        ...
      
      Conflicts:
      	t/t6035-merge-dir-to-symlink.sh
      a2c67264
    • J
      Merge branch 'js/detached-stash' · b480d38d
      Junio C Hamano 提交于
      * js/detached-stash:
        t3903: fix broken test_must_fail calls
        detached-stash: update Documentation
        detached-stash: tests of git stash with stash-like arguments
        detached-stash: simplify git stash show
        detached-stash: simplify git stash branch
        detached-stash: refactor git stash pop implementation
        detached-stash: simplify stash_drop
        detached-stash: simplify stash_apply
        detached-stash: work around git rev-parse failure to detect bad log refs
        detached-stash: introduce parse_flags_and_revs function
      b480d38d
    • J
      Merge branch 'js/maint-reflog-beyond-horizon' · 306d7e55
      Junio C Hamano 提交于
      * js/maint-reflog-beyond-horizon:
        t1503: fix broken test_must_fail calls
        rev-parse: tests git rev-parse --verify master@{n}, for various n
        sha1_name.c: use warning in preference to fprintf(stderr
        rev-parse: exit with non-zero status if ref@{n} is not valid.
      306d7e55
    • J
      Merge branch 'dg/local-mod-error-messages' · c208e05b
      Junio C Hamano 提交于
      * dg/local-mod-error-messages:
        t7609-merge-co-error-msgs: test non-fast forward case too.
        Move "show_all_errors = 1" to setup_unpack_trees_porcelain()
        setup_unpack_trees_porcelain: take the whole options struct as parameter
        Move set_porcelain_error_msgs to unpack-trees.c and rename it
      
      Conflicts:
      	merge-recursive.c
      c208e05b
    • J
      Merge branch 'nd/maint-fix-replace' · f92d62ec
      Junio C Hamano 提交于
      * nd/maint-fix-replace:
        parse_object: pass on the original sha1, not the replaced one
      f92d62ec
    • N
      parse_object: pass on the original sha1, not the replaced one · 2e3400c0
      Nguyễn Thái Ngọc Duy 提交于
      Commit 0e87c367 (object: call "check_sha1_signature" with the
      replacement sha1) changed the first argument passed to
      parse_object_buffer() from "sha1" to "repl". With that change,
      the returned obj pointer has the replacement SHA1 in obj->sha1,
      not the original one.
      
      But when using lookup_commit() and then parse_commit() on a
      commit, we get an object pointer with the original sha1, but
      the commit content comes from the replacement commit.
      
      So the result we get from using parse_object() is different
      from the we get from using lookup_commit() followed by
      parse_commit().
      
      It looks much simpler and safer to fix this inconsistency by
      passing "sha1" to parse_object_bufer() instead of "repl".
      
      The commit comment should be used to tell the the replacement
      commit is replacing another commit and why. So it should be
      easy to see that we have a replacement commit instead of an
      original one.
      
      And it is not a problem if the content of the commit is not
      consistent with the sha1 as cat-file piped to hash-object can
      be used to see the difference.
      Signed-off-by: NChristian Couder <chriscool@tuxfamily.org>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      2e3400c0
    • J
      Merge branch 'ab/compat-regex' · cd1547d2
      Junio C Hamano 提交于
      * ab/compat-regex:
        Fix compat/regex ANSIfication on MinGW
        autoconf: regex library detection typofix
        autoconf: don't use platform regex if it lacks REG_STARTEND
        t/t7008-grep-binary.sh: un-TODO a test that needs REG_STARTEND
        compat/regex: get rid of old-style definition
        compat/regex: define out variables only used under RE_ENABLE_I18N
        Change regerror() declaration from K&R style to ANSI C (C89)
        compat/regex: get the gawk regex engine to compile within git
        compat/regex: use the regex engine from gawk for compat
      
      Conflicts:
      	compat/regex/regex.c
      cd1547d2
    • J
      Merge branch 'nd/clone-depth-zero' · c6babe57
      Junio C Hamano 提交于
      * nd/clone-depth-zero:
        clone: warn users --depth is ignored in local clones
      c6babe57