1. 01 5月, 2012 1 次提交
  2. 30 4月, 2012 10 次提交
  3. 28 4月, 2012 7 次提交
    • J
      The sixth batch of topics graduated to 'master' · 62bc8334
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      62bc8334
    • J
      Merge branch 'jc/merge-reduce-parents-early' · 283097e9
      Junio C Hamano 提交于
      Octopus merge strategy did not reduce heads that are recorded in the
      final commit correctly.
      
      By Junio C Hamano (4) and Michał Kiedrowicz (1)
      * jc/merge-reduce-parents-early:
        fmt-merge-msg: discard needless merge parents
        builtin/merge.c: reduce parents early
        builtin/merge.c: collect other parents early
        builtin/merge.c: remove "remoteheads" global variable
        merge tests: octopus with redundant parents
      283097e9
    • J
      Merge branch 'js/fast-import-test-9300' · 7b864abe
      Junio C Hamano 提交于
      By Johannes Sixt
      * js/fast-import-test-9300:
        t9300-fast-import: avoid 'exit' in test_expect_success snippets
      7b864abe
    • J
      Merge branch 'rt/cherry-revert-conflict-summary' · f5b121ae
      Junio C Hamano 提交于
      In the older days, the header "Conflicts:" in "cherry-pick" and
      "merge" was separated by a blank line from the list of paths that
      follow for readability, but when "merge" was rewritten in C, we lost
      it by mistake. Remove the newline from "cherry-pick" to make them
      match again.
      
      By Ralf Thielow
      * rt/cherry-revert-conflict-summary:
        sequencer: remove additional blank line
      f5b121ae
    • J
      Merge branch 'cb/maint-report-mount-point-correctly-in-setup' · 7a9bb265
      Junio C Hamano 提交于
      The filesystem boundary was not correctly reported when .git directory
      discovery stopped at a mount point.
      
      By Clemens Buchacher
      * cb/maint-report-mount-point-correctly-in-setup:
        properly keep track of current working directory
      7a9bb265
    • J
      Merge branch 'cb/cherry-pick-rev-path-confusion' · 0fe59d76
      Junio C Hamano 提交于
      The command line parser choked "git cherry-pick $name" when $name can be
      both revision name and a pathname, even though $name can never be a path
      in the context of the command.
      
      The issue the patch addresses is real, but the way it is implemented felt
      unnecessarily invasive a bit.  It may be cleaner for this caller to add
      the "--" to the end of the argv_array it passes to setup_revisions().
      
      By Clemens Buchacher
      * cb/cherry-pick-rev-path-confusion:
        cherry-pick: do not expect file arguments
      0fe59d76
    • J
      Merge branch 'cb/http-multi-curl-auth' · 157a4767
      Junio C Hamano 提交于
      Fixes http authentication breakage when we keep multiple HTTP requests in
      flight using curl-multi.
      
      By Jeff King (3) and Clemens Buchacher (1)
      * cb/http-multi-curl-auth:
        http: use newer curl options for setting credentials
        http: clean up leak in init_curl_http_auth
        fix http auth with multiple curl handles
        http auth fails with multiple curl handles
      157a4767
  4. 27 4月, 2012 22 次提交
    • J
      t5570: fix forwarding of git-daemon messages via cat · 46e35815
      Johannes Sixt 提交于
      The shell function that starts git-daemon wants to read the first line of
      the daemon's stderr to ensure that it started correctly. Subsequent daemon
      errors should be redirected to fd 4 (which is the terminal in verbose mode
      or /dev/null in quiet mode). To that end the shell script used 'read' to
      get the first line of output, and then 'cat &' to forward everything else
      in a background process.
      
      The problem is, that 'cat >&4 &' does not produce any output because the
      shell redirects a background process's stdin to /dev/null. To have this
      command invocation do anything useful, we have to redirect its stdin
      explicitly (which overrides the /dev/null redirection).
      
      The shell function connects the daemon's stderr to its consumers via a
      FIFO. We cannot just do this:
      
         read line <git_daemon_output
         cat <git_daemon_output >&4 &
      
      because after the first redirection the pipe is closed and the daemon
      could receive SIGPIPE if it writes at the wrong moment. Therefore, we open
      the readable end of the FIFO only once on fd 7 in the shell and dup from
      there to the stdin of the two consumers.
      Signed-off-by: NJohannes Sixt <j6t@kdbg.org>
      Acked-by: NJeff King <peff@peff.net>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      46e35815
    • M
      git-svn: use platform specific auth providers · 082afee6
      Matthijs Kooijman 提交于
      On Linux, this makes authentication using passwords from gnome-keyring
      and kwallet work (only the former was tested). On Mac OS X, this allows
      using the OS X Keychain.
      Signed-off-by: NMatthijs Kooijman <matthijs@stdin.nl>
      Acked-by: NEric Wong <normalperson@yhbt.net>
      082afee6
    • K
      gitweb: Option to not display information about owner · 0ebe7827
      Kacper Kornet 提交于
      In some setups the repository owner is not a well defined concept
      and administrator can prefer it to be not shown. This commit add
      and an option that enable to reach this effect.
      Signed-off-by: NKacper Kornet <draenog@pld-linux.org>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      0ebe7827
    • J
      Update draft release notes to 1.7.11 · 010b260e
      Junio C Hamano 提交于
      A handful of topics have been merged to maintenance releases, and
      the first half of 6th batch graduates to 'master'.
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      010b260e
    • J
      Merge branch 'rl/maint-stash-i18n-save-error' · cd58b71e
      Junio C Hamano 提交于
      The i18n of error message "git stash save" was not properly done.
      
      By Ross Lagerwall
      * rl/maint-stash-i18n-save-error:
        stash: use eval_gettextln correctly
      cd58b71e
    • J
      Merge branch 'mb/fetch-call-a-non-branch-a-ref' · 8a90ddd7
      Junio C Hamano 提交于
      The report from "git fetch" said "new branch" even for a non branch
      ref.
      
      By Marc Branchaud
      * mb/fetch-call-a-non-branch-a-ref:
        fetch: describe new refs based on where it came from
        fetch: Give remote_ref to update_local_ref() as well
      8a90ddd7
    • J
      Merge branch 'jm/maint-strncpy-diff-no-index' · 653787ae
      Junio C Hamano 提交于
      The "diff --no-index" codepath used limited-length buffers,
      risking pathnames getting truncated.  Update it to use the
      strbuf API.
      
      By Jim Meyering (1) and Junio C Hamano (1)
      * jm/maint-strncpy-diff-no-index:
        diff --no-index: use strbuf for temporary pathnames
        diff: avoid stack-buffer-read-overrun for very long name
      653787ae
    • J
      Merge bundle error message fix in · 210a75c3
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      210a75c3
    • J
      Start preparing for 1.7.10.1 · 868d6623
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      868d6623
    • J
      Merge branch 'jk/run-command-eacces' into maint · 8c1ba213
      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
      8c1ba213
    • J
      Merge branch 'jc/push-upstream-sanity' into maint · 731673b1
      Junio C Hamano 提交于
      The 'push to upstream' implementation was broken in some corner
      cases. "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
      731673b1
    • J
      Merge branch 'jc/maint-clean-nested-worktree-in-subdir' into maint · 5d65c2ee
      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
      5d65c2ee
    • J
      Merge branch 'jk/diff-no-rename-empty' into maint · 3f231e23
      Junio C Hamano 提交于
      Rename detection logic used to match two empty files as renames during
      merge-recursive, leading unnatural 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
      3f231e23
    • J
      Merge branch 'rs/combine-diff-zero-context-at-the-beginning' into maint · 10a20b43
      Junio C Hamano 提交于
      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) has been
      fixed.
      
      By René Scharfe
      * rs/combine-diff-zero-context-at-the-beginning:
        combine-diff: fix loop index underflow
      10a20b43
    • J
      Merge branch 'jc/commit-unedited-template' into maint · b4bd6bb3
      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
      b4bd6bb3
    • J
      Merge branch 'jk/add-p-skip-conflicts' into maint · 4579a054
      Junio C Hamano 提交于
      "git add -p" is not designed to deal with unmerged paths but did
      not exclude them and tried to apply funny patches only to fail.
      
      By Jeff King
      * jk/add-p-skip-conflicts:
        add--interactive: ignore unmerged entries in patch mode
      4579a054
    • J
      Merge branch 'jc/commit-hook-authorship' into maint · 695db86a
      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
      695db86a
    • J
      Merge branch 'tr/maint-word-diff-regex-sticky' into maint · 7b90ed59
      Junio C Hamano 提交于
      The regexp configured with diff.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
      7b90ed59
    • J
      Merge branch 'jh/notes-merge-in-git-dir-worktree' into maint · 05843263
      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
      05843263
    • J
      Sync with 1.7.9.7 · 50bf38ac
      Junio C Hamano 提交于
      50bf38ac
    • J
      Git 1.7.9.7 · d0f1ea60
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      d0f1ea60
    • J
      Sync with 1.7.8.6 · b2bab5b3
      Junio C Hamano 提交于
      b2bab5b3