1. 11 5月, 2012 7 次提交
  2. 08 5月, 2012 8 次提交
  3. 04 5月, 2012 6 次提交
    • J
      Merge branch 'jc/merge-reduce-parents-early' into maint · edf14121
      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
      edf14121
    • J
      Merge branch 'cb/cherry-pick-rev-path-confusion' into maint · c4da6c0b
      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.
      
      By Clemens Buchacher
      * cb/cherry-pick-rev-path-confusion:
        cherry-pick: do not expect file arguments
      c4da6c0b
    • J
      Merge branch 'cb/http-multi-curl-auth' into maint · c9683380
      Junio C Hamano 提交于
      HTTP transport that requires authentication did not work correctly when
      multiple connections are used simultaneously.
      
      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
      c9683380
    • J
      Merge branch 'mb/fetch-call-a-non-branch-a-ref' into maint · 66bca3f7
      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
      66bca3f7
    • J
      Merge branch 'rl/maint-stash-i18n-save-error' into maint · beac07ea
      Junio C Hamano 提交于
      i18n marking for an error message for "git stash --notavalidoption"
      was incorrect.
      
      By Ross Lagerwall
      * rl/maint-stash-i18n-save-error:
        stash: use eval_gettextln correctly
      beac07ea
    • J
      Merge branch 'jm/maint-strncpy-diff-no-index' into maint · a16ae14e
      Junio C Hamano 提交于
      "diff --no-index" codepath had a few places that used fixed-size
      buffer and truncated paths that are too long.
      
      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
      a16ae14e
  4. 02 5月, 2012 13 次提交
    • J
      Git 1.7.10.1 · bf505158
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      bf505158
    • J
      Merge branch 'pw/fast-import-dataref-parsing' into maint · b9f0662b
      Junio C Hamano 提交于
      The parser in "fast-import" did not diagnose ":9" style references that is
      not followed by required SP/LF as an error.
      
      By Pete Wyckoff
      * pw/fast-import-dataref-parsing:
        fast-import: tighten parsing of datarefs
      b9f0662b
    • J
      Merge branch 'it/fetch-pack-many-refs' into maint · cda03b6a
      Junio C Hamano 提交于
      When "git fetch" encounters repositories with too many references, the
      command line of "fetch-pack" that is run by a helper e.g. remote-curl, may
      fail to hold all of them. Now such an internal invocation can feed the
      references through the standard input of "fetch-pack".
      
      By Ivan Todoroski
      * it/fetch-pack-many-refs:
        remote-curl: main test case for the OS command line overflow
        fetch-pack: test cases for the new --stdin option
        remote-curl: send the refs to fetch-pack on stdin
        fetch-pack: new --stdin option to read refs from stdin
      
      Conflicts:
      	t/t5500-fetch-pack.sh
      cda03b6a
    • J
      Merge branch 'jl/maint-submodule-recurse-fetch' into maint · 17f695b4
      Junio C Hamano 提交于
      "git fetch" that recurses into submodules on demand did not check if it
      needs to go into submodules when non branches (most notably, tags) are
      fetched.
      
      By Jens Lehmann
      * jl/maint-submodule-recurse-fetch:
        submodules: recursive fetch also checks new tags for submodule commits
      17f695b4
    • J
      Merge branch 'jc/maint-blame-minimal' into maint · 089c0ca8
      Junio C Hamano 提交于
      "git blame" started missing quite a few changes from the origin since we
      stopped using the diff minimalization by default in v1.7.2 era.
      
      Teach "--minimal" option to "git blame" to work around this regression.
      
      * jc/maint-blame-minimal:
        blame: accept --need-minimal
      089c0ca8
    • J
      Merge branch 'lp/maint-diff-three-dash-with-graph' into maint · 35977f23
      Junio C Hamano 提交于
      "log -p --graph" used with "--stat" had a few formatting error.
      
      By Lucian Poston
      * lp/maint-diff-three-dash-with-graph:
        t4202: add test for "log --graph --stat -p" separator lines
        log --graph: fix break in graph lines
        log --graph --stat: three-dash separator should come after graph lines
      35977f23
    • J
      Merge branch 'jk/rebase-i-submodule-conflict-only' into maint · a4da3388
      Junio C Hamano 提交于
      Giving "--continue" to a conflicted "rebase -i" session skipped a
      commit that only results in changes to submodules.
      
      By John Keeping
      * jk/rebase-i-submodule-conflict-only:
        rebase -i continue: don't skip commits that only change submodules
      a4da3388
    • J
      Merge branch 'maint' of https://github.com/git-l10n/git-po · 520d2ce7
      Junio C Hamano 提交于
      By Byrial Jensen (2) and others
      via Jiang Xin (1) and Ralf Thielow (1)
      * 'maint' of https://github.com/git-l10n/git-po:
        l10n: Initial German translation
        l10n: Update Simplified Chinese translation
        l10n: Update git.pot (2 new messages)
        l10n: Add the German translation team and initialize de.po
        l10n: Add Danish team (da) to list of teams
        l10n: New da.po file with 0 translations
        l10n: Updated pt_PT language
      520d2ce7
    • Z
      Consistently use perl from /usr/bin/ for scripts · 0754e089
      Zbigniew Jędrzejewski-Szmek 提交于
      While the majority of scripts use '#!/usr/bin/perl', some use
      '#!/usr/bin/env perl'. In the end there is no difference, because the
      Makefile rewrites "#!.*perl" with "#!$PERL_PATH" in scripted
      Porcelains before installing. Nevertheless, the second form can be
      misleading, because it suggests that perl found first in $PATH will be
      used.
      Suggested-by: NJunio C Hamano <gitster@pobox.com>
      Signed-off-by: NZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      0754e089
    • J
      t/gitweb-lib: use $PERL_PATH to run gitweb · f71db097
      Jeff King 提交于
      The current code runs "perl gitweb.cgi" to test gitweb. This
      will use whatever version of perl happens to be first in the
      PATH. We are better off using the specific perl that the
      user specified via PERL_PATH, which matches what gets put on
      the #!-line of the built gitweb.cgi.
      Signed-off-by: NJeff King <peff@peff.net>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      f71db097
    • J
      t5541: test more combinations of --progress · e304aeba
      Jeff King 提交于
      Previously, we tested only that "push --quiet --no-progress"
      was silent. However, there are many other combinations that
      were not tested:
      
        1. no options at all (but stderr as a tty)
        2. --no-progress by itself
        3. --quiet by itself
        4. --progress (when stderr not a tty)
      
      These are tested elsewhere for general "push", but it is
      important to test them separately for http. It follows a
      very different code path than git://, and options must be
      relayed across a remote helper to a separate send-pack
      process (and in fact cases (1), (2), and (4) have all been
      broken just for http at some point in the past).
      
      We can drop the "--quiet --no-progress" test, as it is not
      really interesting (it is already handled by testing them
      separately in (2) and (3) above).
      Signed-off-by: NJeff King <peff@peff.net>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      e304aeba
    • J
      teach send-pack about --[no-]progress · 391b1f20
      Jeff King 提交于
      The send_pack function gets a "progress" flag saying "yes,
      definitely show progress" or "no, definitely do not show
      progress". This gets set properly by transport_push when
      send_pack is called directly.
      
      However, when the send-pack command is executed separately
      (as it is for the remote-curl helper), there is no way to
      tell it "definitely do this". As a result, we do not
      properly respect "git push --no-progress" for smart-http
      remotes; you will still get progress if stderr is a tty.
      
      This patch teaches send-pack --progress and --no-progress,
      and teaches remote-curl to pass the appropriate option to
      override send-pack's isatty check. This fixes the
      --no-progress case above, and as a bonus, also makes "git
      push --progress" work when stderr is not a tty.
      Signed-off-by: NJeff King <peff@peff.net>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      391b1f20
    • J
      send-pack: show progress when isatty(2) · 8d32e60d
      Jeff King 提交于
      The send_pack_args struct has two verbosity flags: "quiet"
      and "progress". Originally, if "quiet" was set, we would
      tell pack-objects explicitly to be quiet, and if "progress"
      was set, we would tell it to show progress. Otherwise, we
      told it neither, and it relied on isatty(2) to make the
      decision itself.
      
      However, commit 01fdc21f changed the meaning of these
      variables. Now both "quiet" and "!progress" instruct us to
      tell pack-objects to be quiet (and a non-zero "progress"
      means the same as before). This works well for transports
      which call send_pack directly, as the transport code copies
      transport->progress into send_pack_args->progress, and they
      both have the same meaning.
      
      However, the code path of calling "git send-pack" was left
      behind. It always sets "progress" to 0, and thus always
      tells pack-objects to be quiet.  We can work around this by
      checking isatty(2) ourselves in the cmd_send_pack code path,
      restoring the original behavior of the send-pack command.
      Signed-off-by: NJeff King <peff@peff.net>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      8d32e60d
  5. 01 5月, 2012 2 次提交
  6. 28 4月, 2012 4 次提交