1. 11 2月, 2014 1 次提交
  2. 06 2月, 2014 11 次提交
    • J
      Git 1.8.5.4 · 3330a2c4
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      3330a2c4
    • J
      Merge branch 'jc/maint-pull-docfix' into maint · 01a57745
      Junio C Hamano 提交于
      The documentation to "git pull" hinted there is an "-m" option
      because it incorrectly shared the documentation with "git merge".
      
      * jc/maint-pull-docfix:
        Documentation: "git pull" does not have the "-m" option
        Documentation: exclude irrelevant options from "git pull"
      01a57745
    • J
      Merge branch 'ow/stash-with-ifs' into maint · a74a682b
      Junio C Hamano 提交于
      The implementation of 'git stash $cmd "stash@{...}"' did not quote
      the stash argument properly and left it split at IFS whitespace.
      
      * ow/stash-with-ifs:
        stash: handle specifying stashes with $IFS
      a74a682b
    • J
      Merge branch 'js/lift-parent-count-limit' into maint · 3c864743
      Junio C Hamano 提交于
      There is no reason to have a hardcoded upper limit of the number of
      parents for an octopus merge, created via the graft mechanism, but
      there was.
      
      * js/lift-parent-count-limit:
        Remove the line length limit for graft files
      3c864743
    • J
      Merge branch 'nd/add-empty-fix' into maint · ee5788e3
      Junio C Hamano 提交于
      "git add -A" (no other arguments) in a totally empty working tree
      used to emit an error.
      
      * nd/add-empty-fix:
        add: don't complain when adding empty project root
      ee5788e3
    • J
      Merge branch 'bc/log-decoration' into maint · d11ade70
      Junio C Hamano 提交于
      "git log --decorate" did not handle a tag pointed by another tag
      nicely.
      
      * bc/log-decoration:
        log: properly handle decorations with chained tags
      d11ade70
    • J
      Merge branch 'jh/rlimit-nofile-fallback' into maint · 28856247
      Junio C Hamano 提交于
      When we figure out how many file descriptors to allocate for
      keeping packfiles open, a system with non-working getrlimit() could
      cause us to die(), but because we make this call only to get a
      rough estimate of how many is available and we do not even attempt
      to use up all file descriptors available ourselves, it is nicer to
      fall back to a reasonable low value rather than dying.
      
      * jh/rlimit-nofile-fallback:
        get_max_fd_limit(): fall back to OPEN_MAX upon getrlimit/sysconf failure
      28856247
    • J
      Merge branch 'jl/commit-v-strip-marker' into maint · a118beed
      Junio C Hamano 提交于
      "git commit -v" appends the patch to the log message before
      editing, and then removes the patch when the editor returned
      control. However, the patch was not stripped correctly when the
      first modified path was a submodule.
      
      * jl/commit-v-strip-marker:
        commit -v: strip diffs and submodule shortlogs from the commit message
      a118beed
    • J
      Merge branch 'tr/send-email-ssl' into maint · ac0835f9
      Junio C Hamano 提交于
      SSL-related options were not passed correctly to underlying socket
      layer in "git send-email".
      
      * tr/send-email-ssl:
        send-email: set SSL options through IO::Socket::SSL::set_client_defaults
        send-email: --smtp-ssl-cert-path takes an argument
        send-email: pass Debug to Net::SMTP::SSL::new
      ac0835f9
    • J
      Merge branch 'tb/clone-ssh-with-colon-for-port' into maint · 1a111957
      Junio C Hamano 提交于
      Remote repository URL expressed in scp-style host:path notation are
      parsed more carefully (e.g. "foo/bar:baz" is local, "[::1]:/~user" asks
      to connect to user's home directory on host at address ::1.
      
      * tb/clone-ssh-with-colon-for-port:
        git_connect(): use common return point
        connect.c: refactor url parsing
        git_connect(): refactor the port handling for ssh
        git fetch: support host:/~repo
        t5500: add test cases for diag-url
        git fetch-pack: add --diag-url
        git_connect: factor out discovery of the protocol and its parts
        git_connect: remove artificial limit of a remote command
        t5601: add tests for ssh
        t5601: remove clear_ssh, refactor setup_ssh_wrapper
      1a111957
    • J
      Merge branch 'nd/transport-positive-depth-only' into maint · bf03d6e9
      Junio C Hamano 提交于
      "git fetch --depth=0" was a no-op, and was silently ignored.
      Diagnose it as an error.
      
      * nd/transport-positive-depth-only:
        clone,fetch: catch non positive --depth option value
      bf03d6e9
  3. 18 1月, 2014 1 次提交
    • R
      git-svn: workaround for a bug in svn serf backend · ac930287
      Roman Kagan 提交于
      Subversion serf backend in versions 1.8.5 and below has a bug(*) that the
      function creating the descriptor of a file change -- add_file() --
      doesn't make a copy of its third argument when storing it on the
      returned descriptor.  As a result, by the time this field is used (in
      transactions of file copying or renaming) it may well be released, and
      the memory reused.
      
      One of its possible manifestations is the svn assertion triggering on an
      invalid path, with a message
      
      svn_fspath__skip_ancestor: Assertion
      `svn_fspath__is_canonical(child_fspath)' failed.
      
      This patch works around this bug, by storing the value to be passed as
      the third argument to add_file() in a local variable with the same scope
      as the file change descriptor, making sure their lifetime is the same.
      
      * [ew: fixed in Subversion r1553376 as noted by Jonathan Nieder]
      
      Cc: Benjamin Pabst <benjamin.pabst85@gmail.com>
      Signed-off-by: NEric Wong <normalperson@yhbt.net>
      Reviewed-by: NJonathan Nieder <jrnieder@gmail.com>
      Signed-off-by: NRoman Kagan <rkagan@mail.ru>
      ac930287
  4. 15 1月, 2014 3 次提交
  5. 14 1月, 2014 8 次提交
  6. 11 1月, 2014 1 次提交
    • J
      mv: let 'git mv file no-such-dir/' error out on Windows, too · a8933469
      Johannes Sixt 提交于
      The previous commit c57f6281 (mv: let 'git mv file no-such-dir/' error out)
      relies on that rename("file", "no-such-dir/") fails if the directory does not
      exist (note the trailing slash).  This does not work as expected on Windows:
      This rename() call does not fail, but renames "file" to "no-such-dir" (not to
      "no-such-dir/file"). Insert an explicit check for this case to force an error.
      
      This changes the error message from
      
         $ git mv file no-such-dir/
         fatal: renaming 'file' failed: Not a directory
      
      to
      
         $ git mv file no-such-dir/
         fatal: destination directory does not exist, source=file, destination=no-such-dir/
      Signed-off-by: NJohannes Sixt <j6t@kdbg.org>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      a8933469
  7. 08 1月, 2014 1 次提交
  8. 07 1月, 2014 2 次提交
  9. 04 1月, 2014 1 次提交
  10. 03 1月, 2014 2 次提交
    • K
      gc: notice gc processes run by other users · ed7eda8b
      Kyle J. McKay 提交于
      Since 64a99eb4 git gc refuses to run without the --force option if
      another gc process on the same repository is already running.
      
      However, if the repository is shared and user A runs git gc on the
      repository and while that gc is still running user B runs git gc on
      the same repository the gc process run by user A will not be noticed
      and the gc run by user B will go ahead and run.
      
      The problem is that the kill(pid, 0) test fails with an EPERM error
      since user B is not allowed to signal processes owned by user A
      (unless user B is root).
      
      Update the test to recognize an EPERM error as meaning the process
      exists and another gc should not be run (unless --force is given).
      Signed-off-by: NKyle J. McKay <mackyle@gmail.com>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      ed7eda8b
    • J
      Revert "prompt: clean up strbuf usage" · e1c1a324
      Jeff King 提交于
      This reverts commit 31b49d9b.
      
      That commit taught do_askpass to hand ownership of our
      buffer back to the caller rather than simply return a
      pointer into our internal strbuf.  What it failed to notice,
      though, was that our internal strbuf is static, because we
      are trying to emulate the getpass() interface.
      
      By handing off ownership, we created a memory leak that
      cannot be solved. Sometimes git_prompt returns a static
      buffer from getpass() (or our smarter git_terminal_prompt
      wrapper), and sometimes it returns an allocated string from
      do_askpass.
      Signed-off-by: NJeff King <peff@peff.net>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      e1c1a324
  11. 31 12月, 2013 1 次提交
  12. 28 12月, 2013 1 次提交
    • J
      Remove the line length limit for graft files · e228c173
      Johannes Schindelin 提交于
      Support for grafts predates Git's strbuf, and hence it is understandable
      that there was a hard-coded line length limit of 1023 characters (which
      was chosen a bit awkwardly, given that it is *exactly* one byte short of
      aligning with the 41 bytes occupied by a commit name and the following
      space or new-line character).
      
      While regular commit histories hardly win comprehensibility in general
      if they merge more than twenty-two branches in one go, it is not Git's
      business to limit grafts in such a way.
      
      In this particular developer's case, the use case that requires
      substantially longer graft lines to be supported is the visualization of
      the commits' order implied by their changes: commits are considered to
      have an implicit relationship iff exchanging them in an interactive
      rebase would result in merge conflicts.
      
      Thusly implied branches tend to be very shallow in general, and the
      resulting thicket of implied branches is usually very wide; It is
      actually quite common that *most* of the commits in a topic branch have
      not even one implied parent, so that a final merge commit has about as
      many implied parents as there are commits in said branch.
      
      [jc: squashed in tests by Jonathan]
      Signed-off-by: NJohannes Schindelin <johannes.schindelin@gmx.de>
      Reviewed-by: NJonathan Nieder <jrnieder@gmail.com>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      e228c173
  13. 27 12月, 2013 1 次提交
  14. 21 12月, 2013 2 次提交
  15. 19 12月, 2013 1 次提交
  16. 18 12月, 2013 3 次提交