1. 25 4月, 2012 4 次提交
  2. 24 4月, 2012 1 次提交
  3. 21 4月, 2012 9 次提交
    • J
      RelNotes: the third batch · d1ca788f
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      d1ca788f
    • J
      Merge branch 'js/spawn-via-shell-path-fix' · 8cc52234
      Junio C Hamano 提交于
      Mops up an unfortunate fallout from bw/spawn-via-shell-path topic.
      
      By Johannes Sixt
      * js/spawn-via-shell-path-fix:
        Do not use SHELL_PATH from build system in prepare_shell_cmd on Windows
      8cc52234
    • J
      Merge branch 'ct/advise-push-default' · c5da24a7
      Junio C Hamano 提交于
      Break down the cases in which "git push" fails due to non-ff into
      three categories, and give separate advise messages for each case.
      
      By Christopher Tiwald (2) and Jeff King (1)
      * ct/advise-push-default:
        Fix httpd tests that broke when non-ff push advice changed
        clean up struct ref's nonfastforward field
        push: Provide situational hints for non-fast-forward errors
      c5da24a7
    • J
      Merge branch 'bw/submodule-sed-solaris' · af78c317
      Junio C Hamano 提交于
      By Ben Walton
      * bw/submodule-sed-solaris:
        Avoid bug in Solaris xpg4/sed as used in submodule
      af78c317
    • J
      Merge branch 'jk/run-command-eacces' · bd6f71d1
      Junio C Hamano 提交于
      When PATH contains an unreadable directory, alias expansion code did not
      kick in, and failed with an error that said "git-subcmd" was not found.
      
      By Jeff King (1) and Ramsay Jones (1)
      * jk/run-command-eacces:
        run-command: treat inaccessible directories as ENOENT
        compat/mingw.[ch]: Change return type of exec functions to int
      bd6f71d1
    • J
      Merge branch 'jc/push-upstream-sanity' · 27da1cf6
      Junio C Hamano 提交于
      Fix broken 'push to upstream' implementation.  "git push $there" without
      refspec, when the current branch is set to push to a remote different from
      $there, used to push to $there using the upstream information to a remote
      unreleated to $there.
      
      * jc/push-upstream-sanity:
        push: error out when the "upstream" semantics does not make sense
      27da1cf6
    • J
      Merge branch 'jc/am-report-3way' · bb52e7f6
      Junio C Hamano 提交于
      When "git am -3" needs to fall back to an application to a synthesized
      preimage followed by a 3-way merge, the paths that needed such treatment
      are now reported to the end user, so that the result in them can be
      eyeballed with extra care.
      
      * jc/am-report-3way:
        am -3: list the paths that needed 3-way fallback
      bb52e7f6
    • J
      Merge branch 'jb/am-include' · 334dde85
      Junio C Hamano 提交于
      "git am" learned the "--include" option, which is an opposite of existing
      the "--exclude" option.
      
      By Johannes Berg
      * jb/am-include:
        am: support --include option
      334dde85
    • J
      Merge branch 'jc/fmt-merge-msg-people' · 503c15ac
      Junio C Hamano 提交于
      The "fmt-merge-msg" command learns to list the primary contributors
      involved in the side topic you are merging.
      
      * jc/fmt-merge-msg-people:
        fmt-merge-msg: show those involved in a merged series
      503c15ac
  4. 17 4月, 2012 14 次提交
    • J
      Do not use SHELL_PATH from build system in prepare_shell_cmd on Windows · 77629754
      Johannes Sixt 提交于
      The recent change to use SHELL_PATH instead of "sh" to spawn shell commands
      is not suited for Windows:
      
      - The default setting, "/bin/sh", does not work when git has to run the
        shell because it is a POSIX style path, but not a proper Windows style
        path.
      
      - If it worked, it would hard-code a position in the files system where
        the shell is expected, making git (more precisely, the POSIX toolset that
        is needed alongside git) non-relocatable. But we cannot sacrifice
        relocatability on Windows.
      
      - Apart from that, even though the Makefile leaves SHELL_PATH set to
        "/bin/sh" for the Windows builds, the build system passes a mangled path
        to the compiler, and something like "D:/Src/msysgit/bin/sh" is used,
        which is doubly bad because it points to where /bin/sh resolves to on
        the system where git was built.
      
      - Finally, the system's CreateProcess() function that is used under
        mingw.c's hood does not work with forward slashes and cannot find the
        shell.
      
      Undo the earlier change on Windows.
      Signed-off-by: NJohannes Sixt <j6t@kdbg.org>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      77629754
    • J
      0bb2ee1b
    • J
      Merge branch 'jk/add-p-skip-conflicts' · 3c524002
      Junio C Hamano 提交于
      Excludes conflicted paths from "add -p" processing, as it is not prepared
      to handle them.
      
      By Jeff King
      * jk/add-p-skip-conflicts:
        add--interactive: ignore unmerged entries in patch mode
      3c524002
    • J
      Merge branch 'jc/commit-unedited-template' · 091df17f
      Junio C Hamano 提交于
      When "git commit --template F" errors out because the user did not touch
      the message, it claimed that it aborts due to "empty message", which was
      utterly wrong.
      
      By Junio C Hamano (4) and Adam Monsen (1)
      * jc/commit-unedited-template:
        Documentation/git-commit: rephrase the "initial-ness" of templates
        git-commit.txt: clarify -t requires editing message
        commit: rephrase the error when user did not touch templated log message
        commit: do not trigger bogus "has templated message edited" check
        t7501: test the right kind of breakage
      091df17f
    • J
      Merge branch 'bw/spawn-via-shell-path' · fa0ba729
      Junio C Hamano 提交于
      "sh" on the user's PATH may be utterly broken on some systems;
      consistently use SHELL_PATH even from inside run-command API.
      
      By Ben Walton
      * bw/spawn-via-shell-path:
        Use SHELL_PATH from build system in run_command.c:prepare_shell_cmd
      fa0ba729
    • J
      Merge branch 'wk/gitweb-snapshot-use-if-modified-since' · 0f3ddd4a
      Junio C Hamano 提交于
      Makes 'snapshot' request to "gitweb" honor If-Modified-Since: header,
      based on the commit date.
      
      By W. Trevor King
      * wk/gitweb-snapshot-use-if-modified-since:
        gitweb: add If-Modified-Since handling to git_snapshot().
        gitweb: refactor If-Modified-Since handling
        gitweb: add `status` headers to git_feed() responses.
      0f3ddd4a
    • J
      Merge branch 'jk/http-backend-keep-committer-ident-env' · 11047e00
      Junio C Hamano 提交于
      The smart-http backend used to always override GIT_COMMITTER_* variables
      with REMOTE_USER and REMOTE_ADDR.
      
      By Jeff King
      * jk/http-backend-keep-committer-ident-env:
        http-backend: respect existing GIT_COMMITTER_* variables
      11047e00
    • J
      Merge branch 'sl/autoconf' · e5ccf5e4
      Junio C Hamano 提交于
      Updates our configure.ac to follow a better "autoconf" style.
      
      By Stefano Lattarini
      * sl/autoconf:
        configure: be more idiomatic
        configure: avoid some code repetitions thanks to m4_{push,pop}def
        configure: move definitions of private m4 macros before AC_INIT invocation
      e5ccf5e4
    • J
      Merge branch 'jk/branch-quiet' · b3ba4694
      Junio C Hamano 提交于
      Even with "-q"uiet option, "checkout" used to report setting up tracking.
      Also "branch" learns "-q"uiet option to squelch informational message.
      
      By Jeff King
      * jk/branch-quiet:
        teach "git branch" a --quiet option
        checkout: suppress tracking message with "-q"
      b3ba4694
    • J
      Merge branch 'rs/combine-diff-zero-context-at-the-beginning' · f84e8b60
      Junio C Hamano 提交于
      Fixes an age old corner case bug in combine diff (only triggered with -U0
      and the hunk at the beginning of the file needs to be shown).
      
      By René Scharfe
      * rs/combine-diff-zero-context-at-the-beginning:
        combine-diff: fix loop index underflow
      f84e8b60
    • J
      Merge branch 'jk/diff-no-rename-empty' · c0599f69
      Junio C Hamano 提交于
      Forbids rename detection logic from matching two empty files as renames
      during merge-recursive to prevent mismerges.
      
      By Jeff King
      * jk/diff-no-rename-empty:
        merge-recursive: don't detect renames of empty files
        teach diffcore-rename to optionally ignore empty content
        make is_empty_blob_sha1 available everywhere
        drop casts from users EMPTY_TREE_SHA1_BIN
      c0599f69
    • J
      Merge branch 'jc/maint-clean-nested-worktree-in-subdir' · a2caeb2e
      Junio C Hamano 提交于
      "git clean -d -f" (not "-d -f -f") is supposed to protect nested working
      trees of independent git repositories that exist in the current project
      working tree from getting removed, but the protection applied only to such
      working trees that are at the top-level of the current project by mistake.
      
      * jc/maint-clean-nested-worktree-in-subdir:
        clean: preserve nested git worktree in subdirectories
      a2caeb2e
    • J
      Merge branch 'rs/unpack-trees-leakfix' · 27ed4350
      Junio C Hamano 提交于
      By René Scharfe
      * rs/unpack-trees-leakfix:
        unpack-trees: plug minor memory leak
        unpack-trees: don't perform any index operation if we're not merging
      27ed4350
    • J
      Merge branch 'nl/rebase-i-cheat-sheet' · 0e9b0ac7
      Junio C Hamano 提交于
      * nl/rebase-i-cheat-sheet:
        rebase -i: remind that the lines are top-to-bottom
      0e9b0ac7
  5. 16 4月, 2012 10 次提交
    • J
      146fe8ce
    • J
      Merge branch 'da/difftool-test' · b22d301b
      Junio C Hamano 提交于
      Makes sure "difftool" options can be given in any order.
      
      By David Aguilar
      * da/difftool-test:
        t7800: Test difftool passing arguments to diff
      b22d301b
    • J
      Merge branch 'zj/test-cred-helper-nicer-prove' · 3ff999e1
      Junio C Hamano 提交于
      Minor improvement to t0303.
      
      By Zbigniew Jędrzejewski-Szmek
      * zj/test-cred-helper-nicer-prove:
        t0303: resurrect commit message as test documentation
        t0303: immediately bail out w/o GIT_TEST_CREDENTIAL_HELPER
      3ff999e1
    • J
      Merge branch 'jh/notes-merge-in-git-dir-worktree' · 4e520081
      Junio C Hamano 提交于
      Running "notes merge --commit" failed to perform correctly when run
      from any directory inside $GIT_DIR/.  When "notes merge" stops with
      conflicts, $GIT_DIR/NOTES_MERGE_WORKTREE is the place a user edits
      to resolve it.
      
      By Johan Herland (3) and Junio C Hamano (1)
      * jh/notes-merge-in-git-dir-worktree:
        notes-merge: Don't remove .git/NOTES_MERGE_WORKTREE; it may be the user's cwd
        notes-merge: use opendir/readdir instead of using read_directory()
        t3310: illustrate failure to "notes merge --commit" inside $GIT_DIR/
        remove_dir_recursively(): Add flag for skipping removal of toplevel dir
      4e520081
    • J
      Merge branch 'tr/maint-word-diff-regex-sticky' · 3bec29bb
      Junio C Hamano 提交于
      The regexp configured with wordregex was incorrectly reused across files.
      
      By Thomas Rast (2) and Johannes Sixt (1)
      * tr/maint-word-diff-regex-sticky:
        diff: tweak a _copy_ of diff_options with word-diff
        diff: refactor the word-diff setup from builtin_diff_cmd
        t4034: diff.*.wordregex should not be "sticky" in --word-diff
      3bec29bb
    • J
      Merge branch 'jn/diffstat-tests' · 09b90fb3
      Junio C Hamano 提交于
      Some tests checked the "diff --stat" output when they do not have to,
      which unnecessarily made things harder to verify under GETTEXT_POISON.
      
      By Jonathan Nieder
      * jn/diffstat-tests:
        diffstat summary line varies by locale: miscellany
        test: use numstat instead of diffstat in binary-diff test
        test: use --numstat instead of --stat in "git stash show" tests
        test: test cherry-pick functionality and output separately
        test: modernize funny-names test style
        test: use numstat instead of diffstat in funny-names test
        test: use test_i18ncmp when checking --stat output
      09b90fb3
    • J
      Merge branch 'jc/diff-algo-cleanup' · 86c340e0
      Junio C Hamano 提交于
      Resurrects the preparatory clean-up patches from another topic that was
      discarded, as this would give a saner foundation to build on diff.algo
      configuration option series.
      
      * jc/diff-algo-cleanup:
        xdiff: PATIENCE/HISTOGRAM are not independent option bits
        xdiff: remove XDL_PATCH_* macros
      86c340e0
    • J
      Merge branch 'jc/commit-hook-authorship' · 9eefd8ae
      Junio C Hamano 提交于
      "git commit --author=$name" did not tell the name that was being recorded
      in the resulting commit to hooks, even though it does do so when the end
      user overrode the authorship via the "GIT_AUTHOR_NAME" environment
      variable.
      
      * jc/commit-hook-authorship:
        commit: pass author/committer info to hooks
        t7503: does pre-commit-hook learn authorship?
        ident.c: add split_ident_line() to parse formatted ident line
      9eefd8ae
    • J
      Merge branch 'nd/stream-more' · 47de6b04
      Junio C Hamano 提交于
      Use API to read blob data in smaller chunks in more places to reduce the
      memory footprint.
      
      By Nguyễn Thái Ngọc Duy (6) and Junio C Hamano (1)
      * nd/stream-more:
        update-server-info: respect core.bigfilethreshold
        fsck: use streaming API for writing lost-found blobs
        show: use streaming API for showing blobs
        parse_object: avoid putting whole blob in core
        cat-file: use streaming API to print blobs
        Add more large blob test cases
        streaming: make streaming-write-entry to be more reusable
      47de6b04
    • C
      30fd3a54
  6. 13 4月, 2012 1 次提交
  7. 12 4月, 2012 1 次提交