1. 09 5月, 2010 18 次提交
    • J
      Merge branch 'bg/apply-blank-trailing-context' · b7511571
      Junio C Hamano 提交于
      * bg/apply-blank-trailing-context:
        apply: Allow blank *trailing* context lines to match beyond EOF
      b7511571
    • J
      Merge branch 'bg/send-email-smtpdomain' · daa81c4a
      Junio C Hamano 提交于
      * bg/send-email-smtpdomain:
        send-email: Cleanup smtp-domain and add config
        Document send-email --smtp-domain
        send-email: Don't use FQDNs without a '.'
        send-email: Cleanup { style
      daa81c4a
    • J
      Merge branch 'rc/ls-remote-default' · 909376a1
      Junio C Hamano 提交于
      * rc/ls-remote-default:
        ls-remote: fall-back to default remotes when no remote specified
      909376a1
    • J
      Merge branch 'rc/maint-curl-helper' · 3cc9caad
      Junio C Hamano 提交于
      * rc/maint-curl-helper:
        remote-curl: ensure that URLs have a trailing slash
        http: make end_url_with_slash() public
        t5541-http-push: add test for URLs with trailing slash
      
      Conflicts:
      	remote-curl.c
      3cc9caad
    • J
      Merge branch 'hg/maint-attr-fix' · b7d0da85
      Junio C Hamano 提交于
      * hg/maint-attr-fix:
        attr: Expand macros immediately when encountered.
        attr: Allow multiple changes to an attribute on the same line.
        attr: Fixed debug output for macro expansion.
      b7d0da85
    • J
      Merge branch 'eb/unpretty-b-format' · 67e5c87c
      Junio C Hamano 提交于
      * eb/unpretty-b-format:
        Add `%B' in format strings for raw commit body in `git log' and friends
      67e5c87c
    • J
      Merge branch 'ab/commit-empty-message' · ea28baed
      Junio C Hamano 提交于
      * ab/commit-empty-message:
        Add option to git-commit to allow empty log messages
      ea28baed
    • J
      Merge branch 'jc/test-sleepless' · 301c4f97
      Junio C Hamano 提交于
      * jc/test-sleepless:
        war on "sleep" in tests
      301c4f97
    • J
      Merge branch 'jc/maint-reflog-expire-unreachable' · a9eb3041
      Junio C Hamano 提交于
      * jc/maint-reflog-expire-unreachable:
        reflog --expire-unreachable: avoid merge-base computation
      a9eb3041
    • J
      Merge branch 'sd/log-decorate' · 72d9b222
      Junio C Hamano 提交于
      * sd/log-decorate:
        log.decorate: only ignore it under "log --pretty=raw"
        script with rev-list instead of log
        log --pretty/--oneline: ignore log.decorate
        log.decorate: usability fixes
        Add `log.decorate' configuration variable.
        git_config_maybe_bool()
      
      Conflicts:
      	builtin/log.c
      72d9b222
    • J
      Merge branch 'mh/status-optionally-refresh' · e251a7b3
      Junio C Hamano 提交于
      * mh/status-optionally-refresh:
        t7508: add a test for "git status" in a read-only repository
        git status: refresh the index if possible
        t7508: add test for "git status" refreshing the index
      e251a7b3
    • J
      Merge branch 'cw/ws-indent-with-tab' · c58c5129
      Junio C Hamano 提交于
      * cw/ws-indent-with-tab:
        whitespace: tests for git-apply --whitespace=fix with tab-in-indent
        whitespace: add tab-in-indent support for --whitespace=fix
        whitespace: replumb ws_fix_copy to take a strbuf *dst instead of char *dst
        whitespace: tests for git-diff --check with tab-in-indent error class
        whitespace: add tab-in-indent error class
        whitespace: we cannot "catch all errors known to git" anymore
      c58c5129
    • J
      Merge branch 'cc/revert-strategy' · f78eeeaf
      Junio C Hamano 提交于
      * cc/revert-strategy:
        revert: add "--strategy" option to choose merge strategy
        merge: make function try_merge_command non static
        merge: refactor code that calls "git merge-STRATEGY"
        revert: refactor merge recursive code into its own function
        revert: use strbuf to refactor the code that writes the merge message
      
      Conflicts:
      	builtin/revert.c
      f78eeeaf
    • J
      Merge branch 'sc/http-late-auth' · f350e1fa
      Junio C Hamano 提交于
      * sc/http-late-auth:
        Prompt for a username when an HTTP request 401s
      f350e1fa
    • J
      Merge branch 'jk/cached-textconv' · dd75d078
      Junio C Hamano 提交于
      * jk/cached-textconv:
        diff: avoid useless filespec population
        diff: cache textconv output
        textconv: refactor calls to run_textconv
        introduce notes-cache interface
        make commit_tree a library function
      dd75d078
    • J
      Merge branch 'pc/remove-warn' · 3ecaa3b6
      Junio C Hamano 提交于
      * pc/remove-warn:
        Remove a redundant errno test in a usage of remove_path
        Introduce remove_or_warn function
        Implement the rmdir_or_warn function
        Generalise the unlink_or_warn function
      3ecaa3b6
    • J
      cherry-pick: do not dump core when iconv fails · 43acff34
      Jonathan Nieder 提交于
      When cherry-picking, usually the new and old commit encodings are both
      UTF-8.  Most old iconv implementations do not support this trivial
      conversion, so on old platforms, out->message remains NULL, and later
      attempts to read it segfault.
      
      Fix this by noticing the input and output encodings match and skipping
      the iconv step, like the other reencode_string() call sites already do.
      Also stop segfaulting on other iconv failures: if iconv fails for some
      other reason, the best we can do is to pass the old message through.
      
      This fixes a regression introduced in v1.7.1-rc0~15^2~2 (revert:
      clarify label on conflict hunks, 2010-03-20).
      Reported-by: NAndreas Krey <a.krey@gmx.de>
      Signed-off-by: NJonathan Nieder <jrnieder@gmail.com>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      43acff34
    • R
      Makefile: Fix 'clean' target to remove all gitweb build files · e5bd0a1b
      Ramsay Jones 提交于
      In particular the gitweb/GITWEB-BUILD-OPTIONS file was not being
      removed by the main Makefile. However, the gitweb/Makefile has a
      'clean' target that correctly removes all the build products.
      In order to fix the problem, rather than duplicate the clean-up
      instructions, we change the main Makefile so that it delegates
      the clean-up actions to the gitweb Makefile.
      Signed-off-by: NRamsay Jones <ramsay@ramsay1.demon.co.uk>
      Acked-by: NJakub Narebski <jnareb@gmail.com>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      e5bd0a1b
  2. 08 5月, 2010 1 次提交
  3. 07 5月, 2010 1 次提交
    • J
      test-lib: some shells do not let $? propagate into an eval · b6b0afdc
      Jonathan Nieder 提交于
      In 3bf78867 (test-lib: Let tests specify commands to be run at end of
      test, 2010-05-02), the git test harness learned to run cleanup
      commands unconditionally at the end of a test.  During each test,
      the intended cleanup actions are collected in the test_cleanup variable
      and evaluated.  That variable looks something like this:
      
      	eval_ret=$?; clean_something && (exit "$eval_ret")
      	eval_ret=$?; clean_something_else && (exit "$eval_ret")
      	eval_ret=$?; final_cleanup && (exit "$eval_ret")
      	eval_ret=$?
      
      All cleanup actions are run unconditionally but if one of them fails
      it is properly reported through $eval_ret.
      
      On FreeBSD, unfortunately, $? is set at the beginning of an ‘eval’
      to 0 instead of the exit status of the previous command.  This results
      in tests using test_expect_code appearing to fail and all others
      appearing to pass, unless their cleanup fails.  Avoid the problem by
      setting eval_ret before the ‘eval’ begins.
      
      Thanks to Jeff King for the explanation.
      
      Cc: Jeff King <peff@peff.net>
      Cc: Johannes Sixt <j6t@kdbg.org>
      Acked-by: NJeff King <peff@peff.net>
      Signed-off-by: NJonathan Nieder <jrnieder@gmail.com>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      b6b0afdc
  4. 05 5月, 2010 6 次提交
  5. 02 5月, 2010 5 次提交
  6. 24 4月, 2010 3 次提交
  7. 23 4月, 2010 6 次提交