1. 29 8月, 2015 6 次提交
  2. 27 8月, 2015 15 次提交
  3. 26 8月, 2015 17 次提交
    • J
      Sync with maint · 33f2c4ff
      Junio C Hamano 提交于
      * maint:
        pull: pass upload_pack only when it was given
      33f2c4ff
    • J
      Merge branch 'jk/guess-repo-name-regression-fix' into maint · 52f6893d
      Junio C Hamano 提交于
      "git clone $URL" in recent releases of Git contains a regression in
      the code that invents a new repository name incorrectly based on
      the $URL.  This has been corrected.
      
      * jk/guess-repo-name-regression-fix:
        clone: use computed length in guess_dir_name
        clone: add tests for output directory
      52f6893d
    • J
      Merge branch 'jk/test-with-x' into maint · 84deb3ea
      Junio C Hamano 提交于
      Running tests with the "-x" option to make them verbose had some
      unpleasant interactions with other features of the test suite.
      
      * jk/test-with-x:
        test-lib: disable trace when test is not verbose
        test-lib: turn off "-x" tracing during chain-lint check
      84deb3ea
    • J
      Merge branch 'sb/check-return-from-read-ref' into maint · 7a238074
      Junio C Hamano 提交于
      * sb/check-return-from-read-ref:
        transport-helper: die on errors reading refs.
      7a238074
    • J
      Merge branch 'mm/pull-upload-pack' into maint · 425a4c77
      Junio C Hamano 提交于
      "git pull" in recent releases of Git has a regression in the code
      that allows custom path to the --upload-pack=<program>.  This has
      been corrected.
      
      Note that this is irrelevant for 'master' with "git pull" rewritten
      in C.
      
      * mm/pull-upload-pack:
        pull: pass upload_pack only when it was given
        pull.sh: quote $upload_pack when passing it to git-fetch
      425a4c77
    • J
      pull: pass upload_pack only when it was given · 13e0e28f
      Junio C Hamano 提交于
      The upload_pack shell variable is initialized to an empty string, so
      conditional expansion with ${upload_pack+"$upload_pack"} would not
      work very well.  You need a colon there.
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      13e0e28f
    • J
      Fifth batch for 2.6 · 8da8889a
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      8da8889a
    • J
      Merge branch 'cb/open-noatime-clear-errno' · 9b8d7319
      Junio C Hamano 提交于
      When trying to see that an object does not exist, a state errno
      leaked from our "first try to open a packfile with O_NOATIME and
      then if it fails retry without it" logic on a system that refuses
      O_NOATIME.  This confused us and caused us to die, saying that the
      packfile is unreadable, when we should have just reported that the
      object does not exist in that packfile to the caller.
      
      * cb/open-noatime-clear-errno:
        git_open_noatime: return with errno=0 on success
      9b8d7319
    • J
      Merge branch 'mh/tempfile' · db86e61c
      Junio C Hamano 提交于
      The "lockfile" API has been rebuilt on top of a new "tempfile" API.
      
      * mh/tempfile:
        credential-cache--daemon: use tempfile module
        credential-cache--daemon: delete socket from main()
        gc: use tempfile module to handle gc.pid file
        lock_repo_for_gc(): compute the path to "gc.pid" only once
        diff: use tempfile module
        setup_temporary_shallow(): use tempfile module
        write_shared_index(): use tempfile module
        register_tempfile(): new function to handle an existing temporary file
        tempfile: add several functions for creating temporary files
        prepare_tempfile_object(): new function, extracted from create_tempfile()
        tempfile: a new module for handling temporary files
        commit_lock_file(): use get_locked_file_path()
        lockfile: add accessor get_lock_file_path()
        lockfile: add accessors get_lock_file_fd() and get_lock_file_fp()
        create_bundle(): duplicate file descriptor to avoid closing it twice
        lockfile: move documentation to lockfile.h and lockfile.c
      db86e61c
    • J
      Merge branch 'pt/am-builtin-options' · 424f89f0
      Junio C Hamano 提交于
      After "git am --opt1" stops, running "git am --opt2" pays attention
      to "--opt2" only for the patch that caused the original invocation
      to stop.
      
      * pt/am-builtin-options:
        am: let --signoff override --no-signoff
        am: let command-line options override saved options
        test_terminal: redirect child process' stdin to a pty
      424f89f0
    • J
      Merge branch 'dt/refs-pseudo' · 080cc646
      Junio C Hamano 提交于
      To prepare for allowing a different "ref" backend to be plugged in
      to the system, update_ref()/delete_ref() have been taught about
      ref-like things like MERGE_HEAD that are per-worktree (they will
      always be written to the filesystem inside $GIT_DIR).
      
      * dt/refs-pseudo:
        pseudoref: check return values from read_ref()
        sequencer: replace write_cherry_pick_head with update_ref
        bisect: use update_ref
        pseudorefs: create and use pseudoref update and delete functions
        refs: add ref_type function
        refs: introduce pseudoref and per-worktree ref concepts
      080cc646
    • J
      Merge branch 'dt/notes-multiple' · 32561f5d
      Junio C Hamano 提交于
      When linked worktree is used, simultaneous "notes merge" instances
      for the same ref in refs/notes/* are prevented from stomping on
      each other.
      
      * dt/notes-multiple:
        notes: handle multiple worktrees
        worktrees: add find_shared_symref
      32561f5d
    • J
      Merge branch 'nd/dwim-wildcards-as-pathspecs' · 5d5be816
      Junio C Hamano 提交于
      Test updates for Windows.
      
      * nd/dwim-wildcards-as-pathspecs:
        t2019: skip test requiring '*' in a file name non Windows
      5d5be816
    • J
      Merge branch 'jk/long-error-messages' · 1302c9f5
      Junio C Hamano 提交于
      The codepath to produce error messages had a hard-coded limit to
      the size of the message, primarily to avoid memory allocation while
      calling die().
      
      * jk/long-error-messages:
        vreportf: avoid intermediate buffer
        vreportf: report to arbitrary filehandles
      1302c9f5
    • J
      Merge branch 'ee/clean-remove-dirs' · b590720f
      Junio C Hamano 提交于
      Test updates for Windows.
      
      * ee/clean-remove-dirs:
        t7300-clean: require POSIXPERM for chmod 0 test
      b590720f
    • J
      Merge branch 'jh/strbuf-read-use-read-in-full' · 3b281d12
      Junio C Hamano 提交于
      strbuf_read() used to have one extra iteration (and an unnecessary
      strbuf_grow() of 8kB), which was eliminated.
      
      * jh/strbuf-read-use-read-in-full:
        strbuf_read(): skip unnecessary strbuf_grow() at eof
      3b281d12
    • E
      generate-cmdlist: re-implement as shell script · 82aec45b
      Eric Sunshine 提交于
      527ec398 (generate-cmdlist: parse common group commands, 2015-05-21)
      replaced generate-cmdlist.sh with a more functional Perl version,
      generate-cmdlist.perl. The Perl version gleans named tags from a new
      "common groups" section in command-list.txt and recognizes those
      tags in "command list" section entries in place of the old 'common'
      tag. This allows git-help to, not only recognize, but also group
      common commands.
      
      Although the tests require Perl, 527ec398 creates an unconditional
      dependence upon Perl in the build system itself, which can not be
      overridden with NO_PERL. Such a dependency may be undesirable; for
      instance, the 'git-lite' package in the FreeBSD ports tree is
      intended as a minimal Git installation (which may, for example, be
      useful on servers needing only local clone and update capability),
      which, historically, has not depended upon Perl[1].
      
      Therefore, revive generate-cmdlist.sh and extend it to recognize
      "common groups" and its named tags. Retire generate-cmdlist.perl.
      
      [1]: http://thread.gmane.org/gmane.comp.version-control.git/275905/focus=276132Signed-off-by: NEric Sunshine <sunshine@sunshineco.com>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      82aec45b
  4. 22 8月, 2015 2 次提交