1. 01 11月, 2013 8 次提交
  2. 31 10月, 2013 21 次提交
    • R
      web--browse: Add support for xdg-open · 6ca0f80b
      Rüdiger Sonderfeld 提交于
      xdg-open is a tool similar to git-web--browse.  It opens a file or URL in the
      user's preferred application.  It could probably be made default at least on
      Linux with a graphical environment.
      Signed-off-by: NRüdiger Sonderfeld <ruediger@c-plusplus.de>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      6ca0f80b
    • J
      t3200: do not open a HTML manual page when DEFAULT_MAN_FORMAT is html · 01e8d327
      Johannes Sixt 提交于
      We have the build configuration option DEFAULT_MAN_FORMAT to choose a
      format different from man pages to be used by 'git help' when no format
      is requested explicitly. Since 65db0443 (Set the default help format to
      html for msys builds, 2013-06-04) we use html on Windows by default.
      
      There is one test in t3200-branch.sh that invokes a help page. The
      intent of the redirections applied to the command invocation is to avoid
      that the man page viewer interferes with the automated test. But when
      the default format is not "man", this does not have the intended effect,
      and the HTML manual page is opened during the test run. Request "man"
      format explicitly to keep the test silent.
      Signed-off-by: NJohannes Sixt <j6t@kdbg.org>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      01e8d327
    • J
      Git 1.8.5-rc0 · 42817b96
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      42817b96
    • J
      Merge branch 'maint' · 05ad292d
      Junio C Hamano 提交于
      * maint:
        t5570: Update for clone-progress-to-stderr branch
      05ad292d
    • J
      Merge branch 'jk/refs-c-squelch-gcc' · 149a8134
      Junio C Hamano 提交于
      * jk/refs-c-squelch-gcc:
        silence gcc array-bounds warning
      149a8134
    • J
      Merge branch 'jk/date-c-double-semicolon' · 7522c589
      Junio C Hamano 提交于
      * jk/date-c-double-semicolon:
        drop redundant semicolon in empty while
      7522c589
    • J
      Merge branch 'nd/lift-path-max' · c02e1e4a
      Junio C Hamano 提交于
      * nd/lift-path-max:
        checkout_entry(): clarify the use of topath[] parameter
        entry.c: convert checkout_entry to use strbuf
      c02e1e4a
    • J
      Merge branch 'tr/valgrind-test-fix' · f9891802
      Junio C Hamano 提交于
      * tr/valgrind-test-fix:
        Revert "test-lib: allow prefixing a custom string before "ok N" etc."
        Revert "test-lib: support running tests under valgrind in parallel"
      f9891802
    • J
      Merge branch 'tr/gitk-doc-update' · 0040d6eb
      Junio C Hamano 提交于
      * tr/gitk-doc-update:
        Documentation: revamp gitk(1)
      0040d6eb
    • J
      Merge branch 'jl/pack-transfer-avoid-double-close' · 832ee79a
      Junio C Hamano 提交于
      The codepath that send_pack() calls pack_objects() mistakenly
      closed the same file descriptor twice, leading to potentially
      closing a wrong file descriptor that was opened in the meantime.
      
      * jl/pack-transfer-avoid-double-close:
        Clear fd after closing to avoid double-close error
      832ee79a
    • J
      Merge branch 'sb/git-svn-docs-indent-with-ht' · 02882bc8
      Junio C Hamano 提交于
      * sb/git-svn-docs-indent-with-ht:
        git-svn docs: Use tabs consistently within the ascii doc
      02882bc8
    • J
      Merge branch 'nd/magic-pathspec' · 4cebbe6f
      Junio C Hamano 提交于
      All callers to parse_pathspec() must choose between getting no
      pathspec or one path that is limited to the current directory
      when there is no paths given on the command line, but there were
      two callers that violated this rule, triggering a BUG().
      
      * nd/magic-pathspec:
        Fix calling parse_pathspec with no paths nor PATHSPEC_PREFER_* flags
      4cebbe6f
    • J
      Merge branch 'nd/gc-lock-against-each-other' · 414b7033
      Junio C Hamano 提交于
      * nd/gc-lock-against-each-other:
        gc: remove gc.pid file at end of execution
      414b7033
    • J
      Merge branch 'hn/log-graph-color-octopus' · 779503c5
      Junio C Hamano 提交于
      * hn/log-graph-color-octopus:
        graph: fix coloring around octopus merges
      779503c5
    • J
      Merge branch 'mm/checkout-auto-track-fix' · f101b888
      Junio C Hamano 提交于
      "git checkout topic", when there is not yet a local "topic" branch
      but there is a unique remote-tracking branch for a remote "topic"
      branch, pretended as if "git checkout -t -b topic remote/$r/topic"
      (for that unique remote $r) was run. This hack however was not
      implemented for "git checkout topic --".
      
      * mm/checkout-auto-track-fix:
        checkout: proper error message on 'git checkout foo bar --'
        checkout: allow dwim for branch creation for "git checkout $branch --"
      f101b888
    • J
      Merge branch 'sg/t3600-nul-sha1-fix' · 504c1942
      Junio C Hamano 提交于
      * sg/t3600-nul-sha1-fix:
        t3600: fix broken "choking git rm" test
      504c1942
    • J
      Merge branch 'fc/styles' · 0bfc7c10
      Junio C Hamano 提交于
      C coding style fixes.
      
      * fc/styles:
        block-sha1/sha1.c: have SP around arithmetic operators
        base85.c: have SP around arithmetic operators
        archive.c: have SP around arithmetic operators
        alloc.c: have SP around arithmetic operators
        abspath.c: have SP around arithmetic operators
        alias: have SP around arithmetic operators
        C: have space around && and || operators
      0bfc7c10
    • J
      Merge branch 'jc/upload-pack-send-symref' · 9907d135
      Junio C Hamano 提交于
      One long-standing flaw in the pack transfer protocol used by "git
      clone" was that there was no way to tell the other end which branch
      "HEAD" points at, and the receiving end needed to guess.  A new
      capability has been defined in the pack protocol to convey this
      information so that cloning from a repository with more than one
      branches pointing at the same commit where the HEAD is at now
      reliably sets the initial branch in the resulting repository.
      
      * jc/upload-pack-send-symref:
        t5570: Update for clone-progress-to-stderr branch
        t5570: Update for symref capability
        clone: test the new HEAD detection logic
        connect: annotate refs with their symref information in get_remote_head()
        connect.c: make parse_feature_value() static
        upload-pack: send non-HEAD symbolic refs
        upload-pack: send symbolic ref information as capability
        upload-pack.c: do not pass confusing cb_data to mark_our_ref()
        t5505: fix "set-head --auto with ambiguous HEAD" test
      9907d135
    • J
      Merge branch 'jk/http-auth-redirects' · 177f0a40
      Junio C Hamano 提交于
      Handle the case where http transport gets redirected during the
      authorization request better.
      
      * jk/http-auth-redirects:
        http.c: Spell the null pointer as NULL
        remote-curl: rewrite base url from info/refs redirects
        remote-curl: store url as a strbuf
        remote-curl: make refs_url a strbuf
        http: update base URLs when we see redirects
        http: provide effective url to callers
        http: hoist credential request out of handle_curl_result
        http: refactor options to http_get_*
        http_request: factor out curlinfo_strbuf
        http_get_file: style fixes
      177f0a40
    • B
      t5570: Update for clone-progress-to-stderr branch · d619cfc7
      Brian Gernhardt 提交于
      git clone now reports its progress to standard error, which throws off
      t5570.  Using test_i18ngrep instead of test_cmp allows the test to be
      more flexible by only looking for the expected error and ignoring any
      other output from the program.
      Signed-off-by: NBrian Gernhardt <brian@gernhardtsoftware.com>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      d619cfc7
    • J
      for-each-ref: avoid loading objects to print %(objectname) · b74cf648
      Jeff King 提交于
      If you ask for-each-ref to print each ref and its object,
      like:
      
        git for-each-ref --format='%(objectname) %(refname)'
      
      this should involve little more work than looking at the ref
      files (and packed-refs) themselves. However, for-each-ref
      will actually load each object from disk just to print its
      sha1. For most repositories, this isn't a big deal, but it
      can be noticeable if you have a large number of refs to
      print. Here are best-of-five timings for the command above
      on a repo with ~10K refs:
      
        [before]
        real    0m0.112s
        user    0m0.092s
        sys     0m0.016s
      
        [after]
        real    0m0.014s
        user    0m0.012s
        sys     0m0.000s
      
      This patch checks for %(objectname) and %(objectname:short)
      before we actually parse the object (and the rest of the
      code is smart enough to avoid parsing if we have filled all
      of our placeholders).
      
      Note that we can't simply move the objectname parsing code
      into the early loop. If the "deref" form %(*objectname) is
      used, then we do need to parse the object in order to peel
      the tag. So instead of moving the code, we factor it out
      into a separate function that can be called for both cases.
      
      While we're at it, we add some basic tests for the
      dereferenced placeholders, which were not tested at all
      before. This helps ensure we didn't regress that case.
      Signed-off-by: NJeff King <peff@peff.net>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      b74cf648
  3. 29 10月, 2013 11 次提交