1. 08 5月, 2012 14 次提交
    • J
      The ninth batch of topics graduated to 'master' · a3935e67
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      a3935e67
    • J
      Merge branch 'nh/empty-rebase' · 5543501c
      Junio C Hamano 提交于
      By Neil Horman
      * nh/empty-rebase:
        git cherry-pick: do not dereference a potential NULL pointer
      5543501c
    • J
      Merge branch 'zj/diff-empty-chmod' · fc1320bf
      Junio C Hamano 提交于
      "git diff --stat" used to fully count a binary file with modified
      execution bits whose contents is unmodified, which was not right.
      
      By Zbigniew Jędrzejewski-Szmek (4) and Johannes Sixt (1)
      * zj/diff-empty-chmod:
        t4006: Windows do not have /dev/zero
        diff --stat: do not run diff on indentical files
        diff --stat: report mode-only changes for binary files like text files
        tests: check --[short]stat output after chmod
        test: modernize style of t4006
      
      Conflicts:
      	diff.c
      fc1320bf
    • J
      Merge branch 'jk/maint-tformat-with-z' · 43d1e41e
      Junio C Hamano 提交于
      "log -z --pretty=tformat:..." does not terminate each record with NUL
      and this is a beginning of an attempt to fix it.  It still is not right
      but the patch does not make externally observable behaviour worse.
      
      By Jan Krüger (1) and Junio C Hamano (1)
      * jk/maint-tformat-with-z:
        log-tree: the previous one is still not quite right
        log-tree: use custom line terminator in line termination mode
      43d1e41e
    • J
      Merge branch 'th/difftool-diffall' · cae09772
      Junio C Hamano 提交于
      Rolls the two-directory-diff logic from diffall script (in contrib/) into
      "git difftool" framework.
      
      By Tim Henigan
      * th/difftool-diffall:
        difftool: print list of valid tools with '--tool-help'
        difftool: teach difftool to handle directory diffs
        difftool: eliminate setup_environment function
        difftool: stop appending '.exe' to git
        difftool: remove explicit change of PATH
        difftool: exit(0) when usage is printed
        difftool: add '--no-gui' option
        difftool: parse options using Getopt::Long
      cae09772
    • J
      Sync with maint · ad799ea3
      Junio C Hamano 提交于
      ad799ea3
    • J
      Start preparing for 1.7.10.2 · 42325fb2
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      42325fb2
    • J
      Merge branch 'jk/maint-gitweb-test-use-sane-perl' into maint · dc813f66
      Junio C Hamano 提交于
      When using a Perl script on a system where "perl" found on user's $PATH
      could be ancient or otherwise broken, we allow builders to specify the
      path to a good copy of Perl with $PERL_PATH.  The gitweb test forgot to
      use that Perl when running its test.
      
      By Jeff King (1) and Zbigniew Jędrzejewski-Szmek (1)
      * jk/maint-gitweb-test-use-sane-perl:
        Consistently use perl from /usr/bin/ for scripts
        t/gitweb-lib: use $PERL_PATH to run gitweb
      dc813f66
    • J
      Merge branch 'js/daemon-test-race-fix' into maint · 6a88021e
      Junio C Hamano 提交于
      The test scaffolding for git-daemon was flaky.
      
      By Johannes Sixt
      * js/daemon-test-race-fix:
        t5570: fix forwarding of git-daemon messages via cat
      6a88021e
    • J
      Merge branch 'jk/maint-config-bogus-section' into maint · 4c8ad06e
      Junio C Hamano 提交于
      "git config --rename-section" to rename an existing section into a bogus
      one did not check the new name.
      
      By Jeff King
      * jk/maint-config-bogus-section:
        config: reject bogus section names for --rename-section
      4c8ad06e
    • J
      Merge branch 'pw/t5800-import-race-fix' into maint · 1d9fd668
      Junio C Hamano 提交于
      The test scaffolding for fast-import was flaky.
      
      By Pete Wyckoff
      * pw/t5800-import-race-fix:
        git-remote-testgit: fix race when spawning fast-import
      1d9fd668
    • J
      Merge branch 'rt/cherry-revert-conflict-summary' into maint · a28b919f
      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
      a28b919f
    • J
      Merge branch 'cb/maint-report-mount-point-correctly-in-setup' into maint · 71a32223
      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
      71a32223
    • P
      git p4 doc: fix formatting · 41925d58
      Pete Wyckoff 提交于
      Attach example sections to previous level of indenting.
      
      Fix a trailing ::
      Signed-off-by: NPete Wyckoff <pw@padd.com>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      41925d58
  2. 05 5月, 2012 1 次提交
  3. 04 5月, 2012 10 次提交
    • N
      git cherry-pick: do not dereference a potential NULL pointer · 4b580061
      Neil Horman 提交于
      In the case the pointer could be NULL, the function that gave the caller
      the NULL pointer would already have issued an error message, so simply
      returning early with an error status without issuing a new message is
      sufficient.  The same for parse_commit() that will show necessary error
      message when the argument is not NULL, and will return error silently
      when the argument is NULL.
      
      Noticed-by: Michael Mueller
      Signed-off-by: NNeil Horman <nhorman@tuxdriver.com>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      4b580061
    • J
      Merge branch 'maint' · 16798d0f
      Junio C Hamano 提交于
      * maint:
      16798d0f
    • 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
    • J
      Merge branch 'jk/maint-push-progress' · 4c732da9
      Junio C Hamano 提交于
      "git push" over smart-http lost progress output and this resurrects it.
      
      By Jeff King
      * jk/maint-push-progress:
        t5541: test more combinations of --progress
        teach send-pack about --[no-]progress
        send-pack: show progress when isatty(2)
      4c732da9
    • J
      Merge branch 'nd/columns' · f4ed0af6
      Junio C Hamano 提交于
      A couple of commands learn --column option to produce columnar output.
      
      By Nguyễn Thái Ngọc Duy (9) and Zbigniew Jędrzejewski-Szmek (1)
      * nd/columns:
        tag: add --column
        column: support piping stdout to external git-column process
        status: add --column
        branch: add --column
        help: reuse print_columns() for help -a
        column: add dense layout support
        t9002: work around shells that are unable to set COLUMNS to 1
        column: add columnar layout
        Stop starting pager recursively
        Add column layout skeleton and git-column
      f4ed0af6
  4. 03 5月, 2012 15 次提交
    • J
      doc/config: fix inline literals · 9a7b0bca
      Jeff King 提交于
      Since commit 6cf378f0, asciidoc backticks are now inline
      literals; therefore quoting {tilde} inside them is wrong
      (this instance was missed in 6cf378f0 because it happened on
      a parallel line of development).
      Signed-off-by: NJeff King <peff@peff.net>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      9a7b0bca
    • J
      34875f4a
    • J
      Merge branch 'master' of git://git.bogomips.org/git-svn · d73f640f
      Junio C Hamano 提交于
      via Eric Wong
      * 'master' of git://git.bogomips.org/git-svn:
        git-svn: introduce SVN version comparison function
      d73f640f
    • J
      Merge branch 'tr/xdiff-fast-hash' · 4d1f0ef2
      Junio C Hamano 提交于
      Use word-at-a-time comparison to find end of line or NUL (end of buffer),
      borrowed from the linux-kernel discussion.
      
      By Thomas Rast
      * tr/xdiff-fast-hash:
        xdiff: choose XDL_FAST_HASH code on sizeof(long) instead of __WORDSIZE
        xdiff: load full words in the inner loop of xdl_hash_record
      4d1f0ef2
    • J
      Merge branch 'jk/maint-gitweb-test-use-sane-perl' · e834fa0d
      Junio C Hamano 提交于
      When using a Perl script on a system where "perl" found on user's $PATH
      could be ancient or otherwise broken, we allow builders to specify the
      path to a good copy of Perl with $PERL_PATH.  The gitweb test forgot to
      use that Perl when running its test.
      
      By Jeff King (1) and Zbigniew Jędrzejewski-Szmek (1)
      * jk/maint-gitweb-test-use-sane-perl:
        Consistently use perl from /usr/bin/ for scripts
        t/gitweb-lib: use $PERL_PATH to run gitweb
      e834fa0d
    • J
      Merge branch 'pw/message-cleanup' · 2fa4fff4
      Junio C Hamano 提交于
      Many error/warning messages had extra trailing newlines that are
      unnecessary.
      
      By Pete Wyckoff
      * pw/message-cleanup:
        remove blank filename in error message
        remove superfluous newlines in error messages
      2fa4fff4
    • J
      Merge branch 'zj/diff-stat-smaller-num-columns' · 29c2a3db
      Junio C Hamano 提交于
      Spend only minimum number of columns necessary to show the number of lines
      in the output from "diff --stat", instead of always allocating 4 columns
      even when showing changes that are much smaller than 1000 lines.
      
      By Zbigniew Jędrzejewski-Szmek
      * zj/diff-stat-smaller-num-columns:
        diff --stat: use less columns for change counts
      29c2a3db
    • J
      Merge branch 'pw/p4-various' · a5f9ba99
      Junio C Hamano 提交于
      Miscellaneous updates to "git p4".
      
      By Pete Wyckoff
      * pw/p4-various:
        git p4: submit files with wildcards
        git p4: fix writable file after rename or copy
        git p4: test submit
        git p4: bring back files in deleted client directory
      a5f9ba99
    • J
      Merge branch 'jc/rerere-train' · 7b871c53
      Junio C Hamano 提交于
      A script written long time ago proved to be useful this week for me ;-)
      with a minor tweak.
      
      * jc/rerere-train:
        contrib/rerere-train: use installed git-sh-setup
      7b871c53
    • J
      Merge branch 'ab/i18n' · d7c03ca1
      Junio C Hamano 提交于
      Fix some constructs that build messages meant for i18n by concatenating
      pieces of strings.
      
      By Ævar Arnfjörð Bjarmason
      * ab/i18n:
        git-commit: remove lego in i18n messages
        git-commit: remove lego in i18n messages
        git-branch: remove lego in i18n messages
      d7c03ca1
    • J
      Merge branch 'lp/diffstat-with-graph' · 73ff8cf7
      Junio C Hamano 提交于
      "log --graph" was not very friendly with "--stat" option and its output
      had line breaks at wrong places.
      
      By Lucian Poston (5) and Zbigniew Jędrzejewski-Szmek (2)
      * lp/diffstat-with-graph:
        t4052: work around shells unable to set COLUMNS to 1
        Prevent graph_width of stat width from falling below min
        t4052: Test diff-stat output with minimum columns
        t4052: Adjust --graph --stat output for prefixes
        Adjust stat width calculations to take --graph output into account
        Add output_prefix_length to diff_options
        t4052: test --stat output with --graph
      73ff8cf7
    • J
      Merge branch 'zj/mksh-columns-breakage' · 85dcc382
      Junio C Hamano 提交于
      A broken shell may not let us set an environment value to an arbitrary
      value, interfering with some of the tests. Introduce a test prerequisite
      so that we can skip some tests on such a platform.
      
      By Zbigniew Jędrzejewski-Szmek
      * zj/mksh-columns-breakage:
        test-lib: skip test with COLUMNS=1 under mksh
      85dcc382
    • J
      Merge branch 'jk/doc-asciidoc-inline-literal' · d274fc09
      Junio C Hamano 提交于
      Our documentation was written for an ancient version of AsciiDoc,
      making the source not very readable.
      
      By Jeff King
      * jk/doc-asciidoc-inline-literal:
        docs: stop using asciidoc no-inline-literal
      d274fc09
    • J
      Merge branch 'nd/i18n' · 1be65eda
      Junio C Hamano 提交于
      More message strings marked for i18n.
      
      By Nguyễn Thái Ngọc Duy (10) and Jonathan Nieder (1)
      * nd/i18n:
        help: replace underlining "help -a" headers using hyphens with a blank line
        i18n: bundle: mark strings for translation
        i18n: index-pack: mark strings for translation
        i18n: apply: update say_patch_name to give translators complete sentence
        i18n: apply: mark strings for translation
        i18n: remote: mark strings for translation
        i18n: make warn_dangling_symref() automatically append \n
        i18n: help: mark strings for translation
        i18n: mark relative dates for translation
        strbuf: convenience format functions with \n automatically appended
        Makefile: feed all header files to xgettext
      1be65eda
    • J
      Merge branch 'mm/simple-push' · a3db8511
      Junio C Hamano 提交于
      New users tend to work on one branch at a time and push the result
      out. The current and upstream modes of push is a more suitable default
      mode than matching mode for these people, but neither is surprise-free
      depending on how the project is set up. Introduce a "simple" mode that
      is a subset of "upstream" but only works when the branch is named the same
      between the remote and local repositories.
      
      The plan is to make it the new default when push.default is not
      configured.
      
      By Matthieu Moy (5) and others
      * mm/simple-push:
        push.default doc: explain simple after upstream
        push: document the future default change for push.default (matching -> simple)
        t5570: use explicit push refspec
        push: introduce new push.default mode "simple"
        t5528-push-default.sh: add helper functions
        Undocument deprecated alias 'push.default=tracking'
        Documentation: explain push.default option a bit more
      a3db8511