1. 12 10月, 2016 8 次提交
    • J
      Merge branch 'rs/git-gui-use-modern-git-merge-syntax' into maint · 0bc409da
      Junio C Hamano 提交于
      The original command line syntax for "git merge", which was "git
      merge <msg> HEAD <parent>...", has been deprecated for quite some
      time, and "git gui" was the last in-tree user of the syntax.  This
      is finally fixed, so that we can move forward with the deprecation.
      
      * rs/git-gui-use-modern-git-merge-syntax:
        git-gui: stop using deprecated merge syntax
      0bc409da
    • J
      Merge branch 'kd/mailinfo-quoted-string' into maint · e1eb84cc
      Junio C Hamano 提交于
      An author name, that spelled a backslash-quoted double quote in the
      human readable part "My \"double quoted\" name", was not unquoted
      correctly while applying a patch from a piece of e-mail.
      
      * kd/mailinfo-quoted-string:
        mailinfo: unescape quoted-pair in header fields
        t5100-mailinfo: replace common path prefix with variable
      e1eb84cc
    • J
      Merge branch 'pb/rev-list-reverse-with-count' into maint · 54a9f147
      Junio C Hamano 提交于
      Doc update to clarify what "log -3 --reverse" does.
      
      * pb/rev-list-reverse-with-count:
        rev-list-options: clarify the usage of --reverse
      54a9f147
    • J
      Merge branch 'jc/blame-abbrev' into maint · 9534df98
      Junio C Hamano 提交于
      Almost everybody uses DEFAULT_ABBREV to refer to the default
      setting for the abbreviation, but "git blame" peeked into
      underlying variable bypassing the macro for no good reason.
      
      * jc/blame-abbrev:
        blame: use DEFAULT_ABBREV macro
      9534df98
    • J
      Merge branch 'jk/graph-padding-fix' into maint · 18fd96f1
      Junio C Hamano 提交于
      The "graph" API used in "git log --graph" miscounted the number of
      output columns consumed so far when drawing a padding line, which
      has been fixed; this did not affect any existing code as nobody
      tried to write anything after the padding on such a line, though.
      
      * jk/graph-padding-fix:
        graph: fix extra spaces in graph_padding_line
      18fd96f1
    • J
      Merge branch 'sg/ref-filter-parse-optim' into maint · 1f253d88
      Junio C Hamano 提交于
      The code that parses the format parameter of for-each-ref command
      has seen a micro-optimization.
      
      * sg/ref-filter-parse-optim:
        ref-filter: strip format option after a field name only once while parsing
      1f253d88
    • J
      Merge branch 'rs/copy-array' into maint · a813b191
      Junio C Hamano 提交于
      Code cleanup.
      
      * rs/copy-array:
        use COPY_ARRAY
        add COPY_ARRAY
      a813b191
    • J
      Merge branch 'dt/mailinfo' into maint · f7e2e592
      Junio C Hamano 提交于
      * dt/mailinfo:
        add David Turner's Two Sigma address
      f7e2e592
  2. 04 10月, 2016 5 次提交
    • J
      Git 2.10.1 · 6406bdc0
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      6406bdc0
    • J
      Merge branch 'jk/ident-ai-canonname-could-be-null' into maint · 11738ddf
      Junio C Hamano 提交于
      In the codepath that comes up with the hostname to be used in an
      e-mail when the user didn't tell us, we looked at ai_canonname
      field in struct addrinfo without making sure it is not NULL first.
      
      * jk/ident-ai-canonname-could-be-null:
        ident: handle NULL ai_canonname
      11738ddf
    • J
      Merge branch 'jk/doc-cvs-update' into maint · 3d0049ea
      Junio C Hamano 提交于
      Documentation around tools to import from CVS was fairly outdated.
      
      * jk/doc-cvs-update:
        docs/cvs-migration: mention cvsimport caveats
        docs/cvs-migration: update link to cvsps homepage
        docs/cvsimport: prefer cvs-fast-export to parsecvs
      3d0049ea
    • J
      Merge branch 'jk/pack-tag-of-tag' into maint · f4315eed
      Junio C Hamano 提交于
      "git pack-objects --include-tag" was taught that when we know that
      we are sending an object C, we want a tag B that directly points at
      C but also a tag A that points at the tag B.  We used to miss the
      intermediate tag B in some cases.
      
      * jk/pack-tag-of-tag:
        pack-objects: walk tag chains for --include-tag
        t5305: simplify packname handling
        t5305: use "git -C"
        t5305: drop "dry-run" of unpack-objects
        t5305: move cleanup into test block
      f4315eed
    • S
      ref-filter: strip format option after a field name only once while parsing · e94ce139
      SZEDER Gábor 提交于
      When parse_ref_filter_atom() iterates over a list of valid atoms to
      check that a field name is one of them, it has to strip the optional
      colon-separated format option suffix that might follow the field name.
      However, it does so inside the loop, i.e. it performs the exact same
      stripping over and over again.
      
      Move stripping the format option suffix out of that loop, so it's only
      performed once for each parsed field name.
      Signed-off-by: NSZEDER Gábor <szeder@ira.uka.de>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      e94ce139
  3. 30 9月, 2016 25 次提交
    • J
      Prepare for 2.10.1 · 92d42666
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      92d42666
    • J
      Merge branch 'tg/add-chmod+x-fix' into maint · 36f64036
      Junio C Hamano 提交于
      "git add --chmod=+x <pathspec>" added recently only toggled the
      executable bit for paths that are either new or modified. This has
      been corrected to flip the executable bit for all paths that match
      the given pathspec.
      
      * tg/add-chmod+x-fix:
        t3700-add: do not check working tree file mode without POSIXPERM
        t3700-add: create subdirectory gently
        add: modify already added files when --chmod is given
        read-cache: introduce chmod_index_entry
        update-index: add test for chmod flags
      36f64036
    • J
      Merge branch 'et/add-chmod-x' into maint · bf3a55a2
      Junio C Hamano 提交于
      "git add --chmod=+x" added recently lacked documentation, which has
      been corrected.
      
      * et/add-chmod-x:
        add: document the chmod option
      bf3a55a2
    • J
      Merge branch 'rt/rebase-i-broken-insn-advise' into maint · cec5f0bf
      Junio C Hamano 提交于
      When "git rebase -i" is given a broken instruction, it told the
      user to fix it with "--edit-todo", but didn't say what the step
      after that was (i.e. "--continue").
      
      * rt/rebase-i-broken-insn-advise:
        rebase -i: improve advice on bad instruction lines
      cec5f0bf
    • J
      Merge branch 'ls/travis-homebrew-path-fix' into maint · d2a4131e
      Junio C Hamano 提交于
      The procedure to build Git on Mac OS X for Travis CI hardcoded the
      internal directory structure we assumed HomeBrew uses, which was a
      no-no.  The procedure has been updated to ask HomeBrew things we
      need to know to fix this.
      
      * ls/travis-homebrew-path-fix:
        travis-ci: ask homebrew for its path instead of hardcoding it
      d2a4131e
    • J
      Merge branch 'js/regexec-buf' into maint · 300e95f7
      Junio C Hamano 提交于
      Some codepaths in "git diff" used regexec(3) on a buffer that was
      mmap(2)ed, which may not have a terminating NUL, leading to a read
      beyond the end of the mapped region.  This was fixed by introducing
      a regexec_buf() helper that takes a <ptr,len> pair with REG_STARTEND
      extension.
      
      * js/regexec-buf:
        regex: use regexec_buf()
        regex: add regexec_buf() that can work on a non NUL-terminated string
        regex: -G<pattern> feeds a non NUL-terminated string to regexec() and fails
      300e95f7
    • J
      Merge branch 'nd/checkout-disambiguation' into maint · d336b675
      Junio C Hamano 提交于
      "git checkout <word>" does not follow the usual disambiguation
      rules when the <word> can be both a rev and a path, to allow
      checking out a branch 'foo' in a project that happens to have a
      file 'foo' in the working tree without having to disambiguate.
      This was poorly documented and the check was incorrect when the
      command was run from a subdirectory.
      
      * nd/checkout-disambiguation:
        checkout: fix ambiguity check in subdir
        checkout.txt: document a common case that ignores ambiguation rules
        checkout: add some spaces between code and comment
      d336b675
    • J
      Merge branch 'ep/doc-check-ref-format-example' into maint · 71065841
      Junio C Hamano 提交于
      A shell script example in check-ref-format documentation has been
      fixed.
      
      * ep/doc-check-ref-format-example:
        git-check-ref-format.txt: fixup documentation
      71065841
    • J
      Merge branch 'mm/config-color-ui-default-to-auto' into maint · a74a3b7a
      Junio C Hamano 提交于
      Documentation for individual configuration variables to control use
      of color (like `color.grep`) said that their default value is
      'false', instead of saying their default is taken from `color.ui`.
      When we updated the default value for color.ui from 'false' to
      'auto' quite a while ago, all of them broke.  This has been
      corrected.
      
      * mm/config-color-ui-default-to-auto:
        Documentation/config: default for color.* is color.ui
      a74a3b7a
    • J
      Merge branch 'jk/reduce-gc-aggressive-depth' into maint · eb293ac8
      Junio C Hamano 提交于
      "git gc --aggressive" used to limit the delta-chain length to 250,
      which is way too deep for gaining additional space savings and is
      detrimental for runtime performance.  The limit has been reduced to
      50.
      
      * jk/reduce-gc-aggressive-depth:
        gc: default aggressive depth to 50
      eb293ac8
    • J
      Merge branch 'jk/rebase-i-drop-ident-check' into maint · e25e6f39
      Junio C Hamano 提交于
      Even when "git pull --rebase=preserve" (and the underlying "git
      rebase --preserve") can complete without creating any new commit
      (i.e. fast-forwards), it still insisted on having a usable ident
      information (read: user.email is set correctly), which was less
      than nice.  As the underlying commands used inside "git rebase"
      would fail with a more meaningful error message and advice text
      when the bogus ident matters, this extra check was removed.
      
      * jk/rebase-i-drop-ident-check:
        rebase-interactive: drop early check for valid ident
      e25e6f39
    • J
      Merge branch 'jt/format-patch-base-info-above-sig' into maint · 7b7e977b
      Junio C Hamano 提交于
      "git format-patch --base=..." feature that was recently added
      showed the base commit information after "-- " e-mail signature
      line, which turned out to be inconvenient.  The base information
      has been moved above the signature line.
      
      * jt/format-patch-base-info-above-sig:
        format-patch: show base info before email signature
      7b7e977b
    • J
      Merge branch 'ks/perf-build-with-autoconf' into maint · 08d0f7a5
      Junio C Hamano 提交于
      Performance tests done via "t/perf" did not use the same set of
      build configuration if the user relied on autoconf generated
      configuration.
      
      * ks/perf-build-with-autoconf:
        t/perf/run: copy config.mak.autogen & friends to build area
      08d0f7a5
    • J
      Merge branch 'rs/xdiff-merge-overlapping-hunks-for-W-context' into maint · ef4f0cad
      Junio C Hamano 提交于
      "git diff -W" output needs to extend the context backward to
      include the header line of the current function and also forward to
      include the body of the entire current function up to the header
      line of the next one.  This process may have to merge to adjacent
      hunks, but the code forgot to do so in some cases.
      
      * rs/xdiff-merge-overlapping-hunks-for-W-context:
        xdiff: fix merging of hunks with -W context and -u context
      ef4f0cad
    • J
      Merge branch 'ew/http-do-not-forget-to-call-curl-multi-remove-handle' into maint · e007a094
      Junio C Hamano 提交于
      The http transport (with curl-multi option, which is the default
      these days) failed to remove curl-easy handle from a curlm session,
      which led to unnecessary API failures.
      
      * ew/http-do-not-forget-to-call-curl-multi-remove-handle:
        http: always remove curl easy from curlm session on release
        http: consolidate #ifdefs for curl_multi_remove_handle
        http: warn on curl_multi_add_handle failures
      e007a094
    • J
      Merge branch 'jk/patch-ids-no-merges' into maint · 35ca3e53
      Junio C Hamano 提交于
      "git log --cherry-pick" used to include merge commits as candidates
      to be matched up with other commits, resulting a lot of wasted time.
      The patch-id generation logic has been updated to ignore merges to
      avoid the wastage.
      
      * jk/patch-ids-no-merges:
        patch-ids: refuse to compute patch-id for merge commit
        patch-ids: turn off rename detection
      35ca3e53
    • J
      Merge branch 'js/git-gui-commit-gpgsign' into maint · d7e74c94
      Junio C Hamano 提交于
      "git commit-tree" stopped reading commit.gpgsign configuration
      variable that was meant for Porcelain "git commit" in Git 2.9; we
      forgot to update "git gui" to look at the configuration to match
      this change.
      
      * js/git-gui-commit-gpgsign:
        git-gui: respect commit.gpgsign again
      d7e74c94
    • J
      Merge branch 'jk/fix-remote-curl-url-wo-proto' into maint · 35ec7fd4
      Junio C Hamano 提交于
      "git fetch http::/site/path" did not die correctly and segfaulted
      instead.
      
      * jk/fix-remote-curl-url-wo-proto:
        remote-curl: handle URLs without protocol
      35ec7fd4
    • J
      Merge branch 'sy/git-gui-i18n-ja' into maint · 81835926
      Junio C Hamano 提交于
      Update Japanese translation for "git-gui".
      
      * sy/git-gui-i18n-ja:
        git-gui: update Japanese information
        git-gui: update Japanese translation
        git-gui: add Japanese language code
        git-gui: apply po template to Japanese translation
        git-gui: consistently use the same word for "blame" in Japanese
        git-gui: consistently use the same word for "remote" in Japanese
      81835926
    • J
      Merge branch 'mr/vcs-svn-printf-ulong' into maint · 73336299
      Junio C Hamano 提交于
      Code cleanup.
      
      * mr/vcs-svn-printf-ulong:
        vcs-svn/fast_export: fix timestamp fmt specifiers
      73336299
    • J
      Merge branch 'rs/unpack-trees-reduce-file-scope-global' into maint · 633212b2
      Junio C Hamano 提交于
      Code cleanup.
      
      * rs/unpack-trees-reduce-file-scope-global:
        unpack-trees: pass checkout state explicitly to check_updates()
      633212b2
    • J
      Merge branch 'rs/strbuf-remove-fix' into maint · b0af4819
      Junio C Hamano 提交于
      Code cleanup.
      
      * rs/strbuf-remove-fix:
        strbuf: use valid pointer in strbuf_remove()
      b0af4819
    • J
      Merge branch 'rs/checkout-some-states-are-const' into maint · 3a3bb365
      Junio C Hamano 提交于
      Code cleanup.
      
      * rs/checkout-some-states-are-const:
        checkout: constify parameters of checkout_stage() and checkout_merged()
      3a3bb365
    • J
      Merge branch 'bw/pathspec-remove-unused-extern-decl' into maint · 9e2c4fa5
      Junio C Hamano 提交于
      Code cleanup.
      
      * bw/pathspec-remove-unused-extern-decl:
        pathspec: remove unnecessary function prototypes
      9e2c4fa5
    • J
      graph: fix extra spaces in graph_padding_line · 16477935
      Jeff King 提交于
      The graph_padding_line() function outputs a series of "|"
      columns, and then pads with spaces to graph->width by
      calling graph_pad_horizontally(). However, we tell the
      latter that we wrote graph->num_columns characters, which is
      not true; we also needed spaces between the columns. Let's
      keep a count of how many characters we've written, which is
      what all the other callers of graph_pad_horizontally() do.
      
      Without this, any output that is written at the end of a
      padding line will be bumped out by at least an extra
      graph->num_columns spaces. Presumably nobody ever noticed
      the bug because there's no code path that actually writes to
      the end of a padding line.
      Signed-off-by: NJeff King <peff@peff.net>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      16477935
  4. 29 9月, 2016 2 次提交