1. 06 3月, 2015 17 次提交
    • J
      Merge branch 'jk/prune-mtime' into maint · cbc8d6d8
      Junio C Hamano 提交于
      In v2.2.0, we broke "git prune" that runs in a repository that
      borrows from an alternate object store.
      
      * jk/prune-mtime:
        sha1_file: fix iterating loose alternate objects
        for_each_loose_file_in_objdir: take an optional strbuf path
      cbc8d6d8
    • J
      Merge branch 'tc/curl-vernum-output-broken-in-7.11' into maint · f5a191d3
      Junio C Hamano 提交于
      Certain older vintages of cURL give irregular output from
      "curl-config --vernum", which confused our build system.
      
      * tc/curl-vernum-output-broken-in-7.11:
        Makefile: handle broken curl version number in version check
      f5a191d3
    • J
      Merge branch 'es/squelch-openssl-warnings-on-macosx' into maint · e591339c
      Junio C Hamano 提交于
      An earlier workaround to squelch unhelpful deprecation warnings
      from the complier on Mac OSX unnecessarily set minimum required
      version of the OS, which the user might want to raise (or lower)
      for other reasons.
      
      * es/squelch-openssl-warnings-on-macosx:
        git-compat-util: do not step on MAC_OS_X_VERSION_MIN_REQUIRED
      e591339c
    • J
      Merge branch 'jc/conf-var-doc' into maint · c11c154f
      Junio C Hamano 提交于
      Longstanding configuration variable naming rules has been added to
      the documentation.
      
      * jc/conf-var-doc:
        CodingGuidelines: describe naming rules for configuration variables
        config.txt: mark deprecated variables more prominently
        config.txt: clarify that add.ignore-errors is deprecated
      c11c154f
    • J
      Merge branch 'av/wincred-with-at-in-username-fix' into maint · 518d1c34
      Junio C Hamano 提交于
      The credential helper for Windows (in contrib/) used to mishandle
      a user name with an at-sign in it.
      
      * av/wincred-with-at-in-username-fix:
        wincred: fix get credential if username has "@"
      518d1c34
    • J
      Merge branch 'ch/new-gpg-drops-rfc-1991' into maint · ab09f58e
      Junio C Hamano 提交于
      Older GnuPG implementations may not correctly import the keyring
      material we prepare for the tests to use.
      
      * ch/new-gpg-drops-rfc-1991:
        t/lib-gpg: sanity-check that we can actually sign
        t/lib-gpg: include separate public keys in keyring.gpg
      ab09f58e
    • J
      Merge branch 'jc/remote-set-url-doc' into maint · 069dea89
      Junio C Hamano 提交于
      Clarify in the documentation that "remote.<nick>.pushURL" and
      "remote.<nick>.URL" are there to name the same repository accessed
      via different transports, not two separate repositories.
      
      * jc/remote-set-url-doc:
        Documentation/git-remote.txt: stress that set-url is not for triangular
      069dea89
    • J
      Merge branch 'jk/pack-bitmap' into maint · abfed73c
      Junio C Hamano 提交于
      The pack bitmap support did not build with older versions of GCC.
      
      * jk/pack-bitmap:
        ewah: fix building with gcc < 3.4.0
      abfed73c
    • J
      Merge branch 'jk/config-no-ungetc-eof' into maint · 2250406b
      Junio C Hamano 提交于
      Reading configuration from a blob object, when it ends with a lone
      CR, use to confuse the configuration parser.
      
      * jk/config-no-ungetc-eof:
        config_buf_ungetc: warn when pushing back a random character
        config: do not ungetc EOF
      2250406b
    • J
      Merge branch 'jk/decimal-width-for-uintmax' into maint · 3bef3c12
      Junio C Hamano 提交于
      We didn't format an integer that wouldn't fit in "int" but in
      "uintmax_t" correctly.
      
      * jk/decimal-width-for-uintmax:
        decimal_width: avoid integer overflow
      3bef3c12
    • J
      Merge branch 'jc/push-cert' into maint · b1cffbfc
      Junio C Hamano 提交于
      "git push --signed" gave an incorrectly worded error message when
      the other side did not support the capability.
      
      * jc/push-cert:
        transport-helper: fix typo in error message when --signed is not supported
      b1cffbfc
    • J
      Merge branch 'mh/deref-symref-over-helper-transport' into maint · 6db0497e
      Junio C Hamano 提交于
      "git fetch" over a remote-helper that cannot respond to "list"
      command could not fetch from a symbolic reference e.g. HEAD.
      
      * mh/deref-symref-over-helper-transport:
        transport-helper: do not request symbolic refs to remote helpers
      6db0497e
    • J
      Merge branch 'ks/rebase-i-abbrev' into maint · aaa90f5f
      Junio C Hamano 提交于
      The insn sheet "git rebase -i" creates did not fully honor
      core.abbrev settings.
      
      * ks/rebase-i-abbrev:
        rebase -i: use full object name internally throughout the script
      aaa90f5f
    • J
      Merge branch 'dp/remove-duplicated-header-inclusion' into maint · be2804c4
      Junio C Hamano 提交于
      Code clean-up.
      
      * dp/remove-duplicated-header-inclusion:
        do not include the same header twice
      be2804c4
    • J
      Merge branch 'sb/hex-object-name-is-at-most-41-bytes-long' into maint · 552f6994
      Junio C Hamano 提交于
      Code clean-up.
      
      * sb/hex-object-name-is-at-most-41-bytes-long:
        hex.c: reduce memory footprint of sha1_to_hex static buffers
      552f6994
    • J
      Merge branch 'ak/git-pm-typofix' into maint · a628d505
      Junio C Hamano 提交于
      Typofix in comments.
      
      * ak/git-pm-typofix:
        Git.pm: two minor typo fixes
      a628d505
    • J
      Merge branch 'jk/sanity' into maint · 8fd37b38
      Junio C Hamano 提交于
      The tests that wanted to see that file becomes unreadable after
      running "chmod a-r file", and the tests that wanted to make sure it
      is not run as root, we used "can we write into the / directory?" as
      a cheap substitute, but on some platforms that is not a good
      heuristics.  The tests and their prerequisites have been updated to
      check what they really require.
      
      * jk/sanity:
        test-lib.sh: set prerequisite SANITY by testing what we really need
        tests: correct misuses of POSIXPERM
        t/lib-httpd: switch SANITY check for NOT_ROOT
      8fd37b38
  2. 25 2月, 2015 14 次提交
  3. 19 2月, 2015 1 次提交
  4. 16 2月, 2015 1 次提交
  5. 14 2月, 2015 2 次提交
  6. 13 2月, 2015 1 次提交
  7. 10 2月, 2015 3 次提交
    • J
      sha1_file: fix iterating loose alternate objects · b0a42642
      Jonathon Mah 提交于
      The string in 'base' contains a path suffix to a specific object;
      when its value is used, the suffix must either be filled (as in
      stat_sha1_file, open_sha1_file, check_and_freshen_nonlocal) or
      cleared (as in prepare_packed_git) to avoid junk at the end.
      
      660c889e (sha1_file: add for_each iterators for loose and packed
      objects, 2014-10-15) introduced loose_from_alt_odb(), but this did
      neither and treated 'base' as a complete path to the "base" object
      directory, instead of a pointer to the "base" of the full path
      string.
      
      The trailing path after 'base' is still initialized to NUL, hiding
      the bug in some common cases.  Additionally the descendent
      for_each_file_in_obj_subdir() function swallows ENOENT, so an error
      only shows if the alternate's path was last filled with a valid
      object (where statting /path/to/existing/00/0bjectfile/00 fails).
      Signed-off-by: NJonathon Mah <me@JonathonMah.com>
      Helped-by: NKyle J. McKay <mackyle@gmail.com>
      Signed-off-by: NJeff King <peff@peff.net>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      b0a42642
    • J
      for_each_loose_file_in_objdir: take an optional strbuf path · e6f875e0
      Jeff King 提交于
      We feed a root "objdir" path to this iterator function,
      which then copies the result into a strbuf, so that it can
      repeatedly append the object sub-directories to it. Let's
      make it easy for callers to just pass us a strbuf in the
      first place.
      
      We leave the original interface as a convenience for callers
      who want to just pass a const string like the result of
      get_object_directory().
      Signed-off-by: NJeff King <peff@peff.net>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      e6f875e0
    • K
      git-compat-util: do not step on MAC_OS_X_VERSION_MIN_REQUIRED · 88c03eb5
      Kyle J. McKay 提交于
      MAC_OS_X_VERSION_MIN_REQUIRED may be defined by the builder to a
      specific version in order to produce compatible binaries for a
      particular system.  Blindly defining it to MAC_OS_X_VERSION_10_6
      is bad.
      
      Additionally MAC_OS_X_VERSION_10_6 will not be defined on older
      systems and should AvailabilityMacros.h be included on such as
      system an error will result.  However, using the explicit value
      of 1060 (which is what MAC_OS_X_VERSION_10_6 is defined to) does
      not solve the problem.
      
      The changes that introduced stepping on MAC_OS_X_VERSION_MIN were
      made in b195aa00 (git-compat-util: suppress unavoidable
      Apple-specific deprecation warnings) to avoid deprecation
      warnings.
      
      Instead of blindly setting MAC_OS_X_VERSION_MIN to 1060 change
      the definition of DEPRECATED_ATTRIBUTE to empty to avoid the
      warnings.  This preserves any MAC_OS_X_VERSION_MIN_REQUIRED
      setting while avoiding the warnings as intended by b195aa00.
      Signed-off-by: NKyle J. McKay <mackyle@gmail.com>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      88c03eb5
  8. 06 2月, 2015 1 次提交