1. 06 2月, 2014 15 次提交
    • J
      Sync with 1.8.5.4 · 89ba81dc
      Junio C Hamano 提交于
      89ba81dc
    • J
      howto/maintain-git.txt: new version numbering scheme · c7b8cf49
      Junio C Hamano 提交于
      We wanted to call the upcoming release "Git 1.9", with its
      maintenance track being "Git 1.9.1", "Git 1.9.2", etc., but various
      third-party tools are reported to assume that there are at least
      three dewey-decimal components in our version number.
      
      Adjust the plan so that vX.Y.0 are feature releases while vX.Y.Z
      (Z > 0) are maintenance releases.
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      c7b8cf49
    • 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
    • J
      Merge branch 'tb/repack-fix-renames' (early part) · 2171c0c3
      Junio C Hamano 提交于
      Finishing touches to the "rewrite repack in C" series.
      
      * 'tb/repack-fix-renames' (early part):
        repack.c: rename and unlink pack file if it exists
      2171c0c3
    • T
      repack.c: rename and unlink pack file if it exists · 9d7fbfd2
      Torsten Bögershausen 提交于
      When a repo was fully repacked, and is repacked again, we may run
      into the situation that "new" packfiles have the same name as
      already existing ones (traditionally packfiles have been named after
      the list of names of objects in them, so repacking all the objects
      in a single pack would have produced a packfile with the same name).
      
      The logic is to rename the existing ones into filename like
      "old-XXX", create the new ones and then remove the "old-" ones.
      When something went wrong in the middle, this sequence is rolled
      back by renaming the "old-" files back.
      
      The renaming into "old-" did not work as intended, because
      file_exists() was done on "XXX", not "pack-XXX".  Also when rolling
      back the change, the code tried to rename "old-pack-XXX" but the
      saved ones are named "old-XXX", so this couldn't have worked.
      Signed-off-by: NTorsten Bögershausen <tboegi@web.de>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      9d7fbfd2
  2. 01 2月, 2014 4 次提交
  3. 29 1月, 2014 2 次提交
  4. 28 1月, 2014 19 次提交
    • J
      Git 1.9-rc1 · bd3e186d
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      bd3e186d
    • J
      Merge branch 'as/tree-walk-fix-aggressive-short-cut' · 8bba7206
      Junio C Hamano 提交于
      * as/tree-walk-fix-aggressive-short-cut:
        tree_entry_interesting: match against all pathspecs
      8bba7206
    • J
      Merge branch 'ta/doc-http-protocol-in-html' · 1ad5417a
      Junio C Hamano 提交于
      * ta/doc-http-protocol-in-html:
        http-protocol.txt: don't use uppercase for variable names in "The Negotiation Algorithm"
        Documentation: make it easier to maintain enumerated documents
        create HTML for http-protocol.txt
      1ad5417a
    • J
      Merge branch 'mh/doc-wo-names' · 78dc48e4
      Junio C Hamano 提交于
      * mh/doc-wo-names:
        doc: remote author/documentation sections from more pages
      78dc48e4
    • J
      Merge branch 'jk/revision-o-is-in-libgit-a' · 69b024dc
      Junio C Hamano 提交于
      * jk/revision-o-is-in-libgit-a:
        Makefile: remove redundant object in git-http{fetch,push}
      69b024dc
    • J
      Merge branch 'sb/repack-in-c' · 41106398
      Junio C Hamano 提交于
      "git repack --max-pack-size=8g" stopped being parsed correctly when
      the command was reimplemented in C.
      
      * sb/repack-in-c:
        repack: propagate pack-objects options as strings
        repack: make parsed string options const-correct
        repack: fix typo in max-pack-size option
      41106398
    • J
      Merge branch 'jk/test-fixes' · cdc40bdb
      Junio C Hamano 提交于
      * jk/test-fixes:
        t7700: do not use "touch" unnecessarily
        t7501: fix "empty commit" test with NO_PERL
      cdc40bdb
    • J
      Merge branch 'nd/negative-pathspec' · 017f804e
      Junio C Hamano 提交于
      * nd/negative-pathspec:
        tree-walk.c: ignore trailing slash on submodule in tree_entry_interesting()
      017f804e
    • J
      Merge branch 'pw/git-p4' · 523f0a25
      Junio C Hamano 提交于
      Various "git p4" updates.
      
      * pw/git-p4:
        git p4 doc: use two-line style for options with multiple spellings
        git p4 test: examine behavior with locked (+l) files
        git p4: fix an error message when "p4 where" fails
        git p4: handle files with wildcards when doing RCS scrubbing
        git p4 test: do not pollute /tmp
        git p4 test: run as user "author"
        git p4 test: is_cli_file_writeable succeeds
        git p4 test: explicitly check p4 wildcard delete
        git p4: work around p4 bug that causes empty symlinks
        git p4 test: ensure p4 symlink parsing works
        git p4 test: wildcards are supported
      523f0a25
    • J
      Merge branch 'ss/safe-create-leading-dir-with-slash' · 33d4669a
      Junio C Hamano 提交于
      "git clone $origin foo\bar\baz" on Windows failed to create the
      leading directories (i.e. a moral-equivalent of "mkdir -p").
      
      * ss/safe-create-leading-dir-with-slash:
        safe_create_leading_directories(): on Windows, \ can separate path components
      33d4669a
    • J
      Merge branch 'mh/safe-create-leading-directories' · d0956cfa
      Junio C Hamano 提交于
      Code clean-up and protection against concurrent write access to the
      ref namespace.
      
      * mh/safe-create-leading-directories:
        rename_tmp_log(): on SCLD_VANISHED, retry
        rename_tmp_log(): limit the number of remote_empty_directories() attempts
        rename_tmp_log(): handle a possible mkdir/rmdir race
        rename_ref(): extract function rename_tmp_log()
        remove_dir_recurse(): handle disappearing files and directories
        remove_dir_recurse(): tighten condition for removing unreadable dir
        lock_ref_sha1_basic(): if locking fails with ENOENT, retry
        lock_ref_sha1_basic(): on SCLD_VANISHED, retry
        safe_create_leading_directories(): add new error value SCLD_VANISHED
        cmd_init_db(): when creating directories, handle errors conservatively
        safe_create_leading_directories(): introduce enum for return values
        safe_create_leading_directories(): always restore slash at end of loop
        safe_create_leading_directories(): split on first of multiple slashes
        safe_create_leading_directories(): rename local variable
        safe_create_leading_directories(): add explicit "slash" pointer
        safe_create_leading_directories(): reduce scope of local variable
        safe_create_leading_directories(): fix format of "if" chaining
      d0956cfa
    • J
      Merge branch 'tr/nth-previous-is-a-commit' · c380cf85
      Junio C Hamano 提交于
      * tr/nth-previous-is-a-commit:
        Documentation: @{-N} can refer to a commit
      c380cf85
    • J
      Merge branch 'tr/gitk-doc-range-trace' · bf393990
      Junio C Hamano 提交于
      * tr/gitk-doc-range-trace:
        Documentation/gitk: document -L option
      bf393990
    • J
      Merge branch 'jk/mark-edges-uninteresting' · a6bec001
      Junio C Hamano 提交于
      Fix performance regression in v1.8.4.x and later.
      
      * jk/mark-edges-uninteresting:
        list-objects: only look at cmdline trees with edge_hint
        t/perf: time rev-list with UNINTERESTING commits
      a6bec001
    • J
      Merge branch 'jk/diff-filespec-cleanup' · e049109e
      Junio C Hamano 提交于
      * jk/diff-filespec-cleanup:
        diff_filespec: use only 2 bits for is_binary flag
        diff_filespec: reorder is_binary field
        diff_filespec: drop xfrm_flags field
        diff_filespec: drop funcname_pattern_ident field
        diff_filespec: reorder dirty_submodule macro definitions
      e049109e
    • J
      Merge branch 'ef/mingw-write' · 7b4e2b7e
      Junio C Hamano 提交于
      * ef/mingw-write:
        mingw: remove mingw_write
        prefer xwrite instead of write
      7b4e2b7e
    • J
      Merge branch 'rk/send-email-ssl-cert' · de20e447
      Junio C Hamano 提交于
      The "if /etc/ssl/certs/ directory exists, explicitly telling the
      library to use it as SSL_ca_path" blind-defaulting in "git
      send-email" broke platforms where /etc/ssl/certs/ directory exists,
      but it cannot used as SSL_ca_path (e.g. Fedora rawhide).  Fix it by
      not specifying any SSL_ca_path/SSL_ca_file but still asking for peer
      verification in such a case.
      
      * rk/send-email-ssl-cert:
        send-email: /etc/ssl/certs/ directory may not be usable as ca_path
      de20e447
    • J
      Merge branch 'jn/ignore-doc' · a0f4525a
      Junio C Hamano 提交于
      Explicitly list $HOME/.config/git/ignore as one of the places you
      can use to keep ignore patterns that depend on your personal choice
      of tools, e.g. *~ for Emacs users.
      
      * jn/ignore-doc:
        gitignore doc: add global gitignore to synopsis
      a0f4525a
    • J
      Merge branch 'jk/interpret-branch-name-fix' · 4e9f9320
      Junio C Hamano 提交于
      Fix a handful of bugs around interpreting $branch@{upstream}
      notation and its lookalike, when $branch part has interesting
      characters, e.g. "@", and ":".
      
      * jk/interpret-branch-name-fix:
        interpret_branch_name: find all possible @-marks
        interpret_branch_name: avoid @{upstream} past colon
        interpret_branch_name: always respect "namelen" parameter
        interpret_branch_name: rename "cp" variable to "at"
        interpret_branch_name: factor out upstream handling
      4e9f9320