1. 14 6月, 2014 2 次提交
  2. 30 4月, 2014 3 次提交
  3. 29 4月, 2014 3 次提交
    • J
      Merge branch 'db/make-with-curl' · d8779e1e
      Junio C Hamano 提交于
      It turns out that some platforms do ship without curl-config even
      though they build with the hardcoded default -lcurl and rely on it
      to work.
      
      * db/make-with-curl:
        Makefile: default to -lcurl when no CURL_CONFIG or CURLDIR
      d8779e1e
    • J
      Merge branch 'jk/external-diff-use-argv-array' (early part) · 5f11a7aa
      Junio C Hamano 提交于
      Crash fix for codepath that miscounted the necessary size for an
      array when spawning an external diff program.
      
      * 'jk/external-diff-use-argv-array' (early part):
        run_external_diff: use an argv_array for the command line
      5f11a7aa
    • D
      Makefile: default to -lcurl when no CURL_CONFIG or CURLDIR · f3f11fa6
      Dave Borowitz 提交于
      The original implementation of CURL_CONFIG support did not match the
      original behavior of using -lcurl when CURLDIR was not set. This broke
      implementations that were lacking curl-config but did have libcurl
      installed along system libraries, such as MSysGit. In other words, the
      assumption that curl-config is always installed was incorrect.
      
      Instead, if CURL_CONFIG is empty or returns an empty result (e.g. due
      to curl-config being missing), use the old behavior of falling back to
      -lcurl.
      Signed-off-by: NDave Borowitz <dborowitz@google.com>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      f3f11fa6
  4. 26 4月, 2014 1 次提交
  5. 25 4月, 2014 3 次提交
    • J
      Merge branch 'jk/pack-bitmap' · 1697bf30
      Junio C Hamano 提交于
      A last minute (and hopefully the last) fix to avoid coredumps due
      to an incorrect pointer arithmetic.
      
      * jk/pack-bitmap:
        ewah_bitmap.c: do not assume size_t and eword_t are the same size
      1697bf30
    • J
      Merge branch 'fc/transport-helper-sync-error-fix' · d508e4a8
      Junio C Hamano 提交于
      Make sure the marks are not written out when the transport helper
      did not finish happily, to avoid leaving a marks file that is out of
      sync with the reality.
      
      * fc/transport-helper-sync-error-fix:
        t5801 (remote-helpers): cleanup environment sets
        transport-helper: fix sync issue on crashes
        transport-helper: trivial cleanup
        transport-helper: propagate recvline() error pushing
        remote-helpers: make recvline return an error
        transport-helper: remove barely used xchgline()
      d508e4a8
    • J
      Merge branch 'db/make-with-curl' · e4255213
      Junio C Hamano 提交于
      Ask curl-config how to link with the curl library, instead of
      having only a limited configurability knobs in the Makefile.
      
      * db/make-with-curl:
        Makefile: allow static linking against libcurl
        Makefile: use curl-config to determine curl flags
      e4255213
  6. 23 4月, 2014 1 次提交
    • K
      ewah_bitmap.c: do not assume size_t and eword_t are the same size · 68f4e1fc
      Kyle J. McKay 提交于
      When buffer_grow changes the size of the buffer using realloc,
      it first computes and saves the rlw pointer's offset into the
      buffer using (uint8_t *) math before the realloc but then
      restores it using (eword_t *) math.
      
      In order to do this it's necessary to convert the (uint8_t *)
      offset into an (eword_t *) offset.  It was doing this by
      dividing by the sizeof(size_t).  Unfortunately sizeof(size_t)
      is not same as sizeof(eword_t) on all platforms.
      
      This causes illegal memory accesses and other bad things to
      happen when attempting to use bitmaps on those platforms.
      
      Fix this by dividing by the sizeof(eword_t) instead which
      will always be correct for all platforms.
      Signed-off-by: NKyle J. McKay <mackyle@gmail.com>
      Acked-by: NJeff King <peff@peff.net>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      68f4e1fc
  7. 22 4月, 2014 7 次提交
    • J
      Update draft release notes to 2.0 · 779792a5
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      779792a5
    • J
      Merge git://bogomips.org/git-svn · aeaa7e27
      Junio C Hamano 提交于
      * git://bogomips.org/git-svn:
        Git 2.0: git svn: Set default --prefix='origin/' if --prefix is not given
      aeaa7e27
    • J
      Merge branch 'jx/i18n' · 8fe3ee67
      Junio C Hamano 提交于
      * jx/i18n:
        i18n: mention "TRANSLATORS:" marker in Documentation/CodingGuidelines
        i18n: only extract comments marked with "TRANSLATORS:"
        i18n: remove obsolete comments for translators in diffstat generation
        i18n: fix uncatchable comments for translators in date.c
      8fe3ee67
    • J
      Merge branch 'km/avoid-non-function-return-in-rebase' · 0b17b433
      Junio C Hamano 提交于
      Work around /bin/sh that does not like "return" at the top-level
      of a file that is dot-sourced from inside a function definition.
      
      * km/avoid-non-function-return-in-rebase:
        Revert "rebase: fix run_specific_rebase's use of "return" on FreeBSD"
        rebase: avoid non-function use of "return" on FreeBSD
      0b17b433
    • J
      Merge branch 'ep/shell-command-substitution' · 0e6e1a5f
      Junio C Hamano 提交于
      * ep/shell-command-substitution:
        t9362-mw-to-git-utf8.sh: use the $( ... ) construct for command substitution
        t9360-mw-to-git-clone.sh: use the $( ... ) construct for command substitution
        git-tag.sh: use the $( ... ) construct for command substitution
        git-revert.sh: use the $( ... ) construct for command substitution
        git-resolve.sh: use the $( ... ) construct for command substitution
        git-repack.sh: use the $( ... ) construct for command substitution
        git-merge.sh: use the $( ... ) construct for command substitution
        git-ls-remote.sh: use the $( ... ) construct for command substitution
        git-fetch.sh: use the $( ... ) construct for command substitution
        git-commit.sh: use the $( ... ) construct for command substitution
        git-clone.sh: use the $( ... ) construct for command substitution
        git-checkout.sh: use the $( ... ) construct for command substitution
        install-webdoc.sh: use the $( ... ) construct for command substitution
        howto-index.sh: use the $( ... ) construct for command substitution
      0e6e1a5f
    • F
      t5801 (remote-helpers): cleanup environment sets · 3667a5b6
      Felipe Contreras 提交于
      Commit 512477b1 (tests: use "env" to run commands with temporary env-var
      settings) missed some variables in the remote-helpers test. Also
      standardize these.
      Signed-off-by: NFelipe Contreras <felipe.contreras@gmail.com>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      3667a5b6
    • J
      run_external_diff: use an argv_array for the command line · 82fbf269
      Jeff King 提交于
      We currently generate the command-line for the external
      command using a fixed-length array of size 10. But if there
      is a rename, we actually need 11 elements (10 items, plus a
      NULL), and end up writing a random NULL onto the stack.
      
      Rather than bump the limit, let's just use an argv_array, which
      makes this sort of error impossible.
      Noticed-by: NMax L <infthi.inbox@gmail.com>
      Signed-off-by: NJeff King <peff@peff.net>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      82fbf269
  8. 19 4月, 2014 7 次提交
    • J
      Git 2.0: git svn: Set default --prefix='origin/' if --prefix is not given · fe191fca
      Johan Herland 提交于
      git-svn by default puts its Subversion-tracking refs directly in
      refs/remotes/*. This runs counter to Git's convention of using
      refs/remotes/$remote/* for storing remote-tracking branches.
      
      Furthermore, combining git-svn with regular git remotes run the risk of
      clobbering refs under refs/remotes (e.g. if you have a git remote
      called "tags" with a "v1" branch, it will overlap with the git-svn's
      tracking branch for the "v1" tag from Subversion.
      
      Even though the git-svn refs stored in refs/remotes/* are not "proper"
      remote-tracking branches (since they are not covered by a proper git
      remote's refspec), they clearly represent a similar concept, and would
      benefit from following the same convention.
      
      For example, if git-svn tracks Subversion branch "foo" at
      refs/remotes/foo, and you create a local branch refs/heads/foo to add
      some commits to be pushed back to Subversion (using "git svn dcommit),
      then it is clearly unhelpful of Git to throw
      
        warning: refname 'foo' is ambiguous.
      
      every time you checkout, rebase, or otherwise interact with the branch.
      
      The existing workaround for this is to supply the --prefix=quux/ to
      git svn init/clone, so that git-svn's tracking branches end up in
      refs/remotes/quux/* instead of refs/remotes/*. However, encouraging
      users to specify --prefix to work around a design flaw in git-svn is
      suboptimal, and not a long term solution to the problem. Instead,
      git-svn should default to use a non-empty prefix that saves
      unsuspecting users from the inconveniences described above.
      
      This patch will only affect newly created git-svn setups, as the
      --prefix option only applies to git svn init (and git svn clone).
      Existing git-svn setups will continue with their existing (lack of)
      prefix. Also, if anyone somehow prefers git-svn's old layout, they
      can recreate that by explicitly passing an empty prefix (--prefix "")
      on the git svn init/clone command line.
      
      The patch changes the default value for --prefix from "" to "origin/",
      updates the git-svn manual page, and fixes the fallout in the git-svn
      testcases.
      
      (Note that this patch might be easier to review using the --word-diff
      and --word-diff-regex=. diff options.)
      
      [ew: squashed description of <= 1.9 behavior into manpage]
      Suggested-by: NThomas Ferris Nicolaisen <tfnico@gmail.com>
      Signed-off-by: NJohan Herland <johan@herland.net>
      Signed-off-by: NEric Wong <normalperson@yhbt.net>
      fe191fca
    • J
      Git 2.0-rc0 · cc291953
      Junio C Hamano 提交于
      An early-preview for the upcoming Git 2.0.
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      cc291953
    • J
      Merge branch 'jk/config-die-bad-number-noreturn' · 531675ad
      Junio C Hamano 提交于
      Squelch a false compiler warning from older gcc.
      
      * jk/config-die-bad-number-noreturn:
        config.c: mark die_bad_number as NORETURN
      531675ad
    • J
      Merge branch 'fc/remote-helper-fixes' · 8f87d548
      Junio C Hamano 提交于
      * fc/remote-helper-fixes:
        remote-bzr: trivial test fix
        remote-bzr: include authors field in pushed commits
        remote-bzr: add support for older versions
        remote-hg: always normalize paths
        remote-helpers: allow all tests running from any dir
      8f87d548
    • J
      Merge branch 'fc/complete-aliased-push' · 961c1b19
      Junio C Hamano 提交于
      * fc/complete-aliased-push:
        completion: fix completing args of aliased "push", "fetch", etc.
      961c1b19
    • J
      Merge branch 'fc/prompt-zsh-read-from-file' · 427ed406
      Junio C Hamano 提交于
      * fc/prompt-zsh-read-from-file:
        prompt: fix missing file errors in zsh
      427ed406
    • J
      i18n: mention "TRANSLATORS:" marker in Documentation/CodingGuidelines · cbcfd4e3
      Junio C Hamano 提交于
      These comments have to have "TRANSLATORS: " at the very beginning
      and have to deviate from the usual multi-line comment formatting
      convention.
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      cbcfd4e3
  9. 18 4月, 2014 13 次提交