1. 10 9月, 2017 23 次提交
    • J
      Merge branch 'jc/perl-git-comment-typofix' into maint · 8f3d48e1
      Junio C Hamano 提交于
      A comment fix.
      
      * jc/perl-git-comment-typofix:
        perl/Git.pm: typofix in a comment
      8f3d48e1
    • J
      Merge branch 'mf/no-dashed-subcommands' into maint · 036e1274
      Junio C Hamano 提交于
      Code clean-up.
      
      * mf/no-dashed-subcommands:
        scripts: use "git foo" not "git-foo"
      036e1274
    • J
      Merge branch 'ab/ref-filter-no-contains' into maint · 1eb539a9
      Junio C Hamano 提交于
      A test fix.
      
      * ab/ref-filter-no-contains:
        tests: don't give unportable ">" to "test" built-in, use -gt
      1eb539a9
    • J
      Merge branch 'rs/archive-excluded-directory' into maint · ea8bf000
      Junio C Hamano 提交于
      "git archive" did not work well with pathspecs and the
      export-ignore attribute.
      
      We may want to resurrect the "we don't archive an empty directory"
      bonus patch, but I do not mind merging the above early to 'next'
      and leave it as a separate follow-up enhancement.
      cf. <20170820090629.tumvqwzkromcykjf@sigill.intra.peff.net>
      
      * rs/archive-excluded-directory:
        archive: don't queue excluded directories
        archive: factor out helper functions for handling attributes
        t5001: add tests for export-ignore attributes and exclude pathspecs
      ea8bf000
    • J
      Merge branch 'mg/killed-merge' into maint · 78ad0940
      Junio C Hamano 提交于
      Killing "git merge --edit" before the editor returns control left
      the repository in a state with MERGE_MSG but without MERGE_HEAD,
      which incorrectly tells the subsequent "git commit" that there was
      a squash merge in progress.  This has been fixed.
      
      * mg/killed-merge:
        merge: save merge state earlier
        merge: split write_merge_state in two
        merge: clarify call chain
        Documentation/git-merge: explain --continue
      78ad0940
    • J
      Merge branch 'tb/apply-with-crlf' into maint · 648a50a0
      Junio C Hamano 提交于
      "git apply" that is used as a better "patch -p1" failed to apply a
      taken from a file with CRLF line endings to a file with CRLF line
      endings.  The root cause was because it misused convert_to_git()
      that tried to do "safe-crlf" processing by looking at the index
      entry at the same path, which is a nonsense---in that mode, "apply"
      is not working on the data in (or derived from) the index at all.
      This has been fixed.
      
      * tb/apply-with-crlf:
        apply: file commited with CRLF should roundtrip diff and apply
        convert: add SAFE_CRLF_KEEP_CRLF
      648a50a0
    • J
      Merge branch 'cc/subprocess-handshake-missing-capabilities' into maint · 27015b4f
      Junio C Hamano 提交于
      When handshake with a subprocess filter notices that the process
      asked for an unknown capability, Git did not report what program
      the offending subprocess was running.  This has been corrected.
      
      We may want a follow-up fix to tighten the error checking, though.
      
      * cc/subprocess-handshake-missing-capabilities:
        sub-process: print the cmd when a capability is unsupported
      27015b4f
    • J
      Merge branch 'as/grep-quiet-no-match-exit-code-fix' into maint · f1b64e8e
      Junio C Hamano 提交于
      "git grep -L" and "git grep --quiet -L" reported different exit
      codes; this has been corrected.
      
      * as/grep-quiet-no-match-exit-code-fix:
        git-grep: correct exit code with --quiet and -L
      f1b64e8e
    • J
      Merge branch 'kd/stash-with-bash-4.4' into maint · 8388f986
      Junio C Hamano 提交于
      bash 4.4 or newer gave a warning on NUL byte in command
      substitution done in "git stash"; this has been squelched.
      
      * kd/stash-with-bash-4.4:
        stash: prevent warning about null bytes in input
      8388f986
    • J
      Merge branch 'rs/win32-syslog-leakfix' into maint · fbded00b
      Junio C Hamano 提交于
      Memory leak in an error codepath has been plugged.
      
      * rs/win32-syslog-leakfix:
        win32: plug memory leak on realloc() failure in syslog()
      fbded00b
    • J
      Merge branch 'rs/unpack-entry-leakfix' into maint · 438776e3
      Junio C Hamano 提交于
      Memory leak in an error codepath has been plugged.
      
      * rs/unpack-entry-leakfix:
        sha1_file: release delta_stack on error in unpack_entry()
      438776e3
    • J
      Merge branch 'rs/fsck-obj-leakfix' into maint · c3b931e1
      Junio C Hamano 提交于
      Memory leak in an error codepath has been plugged.
      
      * rs/fsck-obj-leakfix:
        fsck: free buffers on error in fsck_obj()
      c3b931e1
    • J
      Merge branch 'ur/svn-local-zone' into maint · e0d52ec4
      Junio C Hamano 提交于
      "git svn" used with "--localtime" option did not compute the tz
      offset for the timestamp in question and instead always used the
      current time, which has been corrected.
      
      * ur/svn-local-zone:
        git svn fetch: Create correct commit timestamp when using --localtime
      e0d52ec4
    • J
      Merge branch 'pw/am-signoff' into maint · 00fd0afe
      Junio C Hamano 提交于
      "git am -s" has been taught that some input may end with a trailer
      block that is not Signed-off-by: and it should refrain from adding
      an extra blank line before adding a new sign-off in such a case.
      
      * pw/am-signoff:
        am: fix signoff when other trailers are present
      00fd0afe
    • J
      Merge branch 'rs/in-obsd-basename-dirname-take-const' into maint · 0f80fb18
      Junio C Hamano 提交于
      Portability fix.
      
      * rs/in-obsd-basename-dirname-take-const:
        test-path-utils: handle const parameter of basename and dirname
      0f80fb18
    • J
      Merge branch 'rs/t4062-obsd' into maint · b3a19e06
      Junio C Hamano 提交于
      Test portability fix.
      
      * rs/t4062-obsd:
        t4062: use less than 256 repetitions in regex
      b3a19e06
    • J
      Merge branch 'rs/obsd-getcwd-workaround' into maint · c2e19411
      Junio C Hamano 提交于
      Test portability fix for BSDs.
      
      * rs/obsd-getcwd-workaround:
        t0001: skip test with restrictive permissions if getpwd(3) respects them
      c2e19411
    • J
      Merge branch 'bw/clone-recursive-quiet' into maint · 277194a2
      Junio C Hamano 提交于
      "git clone --recurse-submodules --quiet" did not pass the quiet
      option down to submodules.
      
      * bw/clone-recursive-quiet:
        clone: teach recursive clones to respect -q
      277194a2
    • J
      Merge branch 'pw/sequence-rerere-autoupdate' into maint · 86c726f0
      Junio C Hamano 提交于
      Commands like "git rebase" accepted the --rerere-autoupdate option
      from the command line, but did not always use it.  This has been
      fixed.
      
      * pw/sequence-rerere-autoupdate:
        cherry-pick/revert: reject --rerere-autoupdate when continuing
        cherry-pick/revert: remember --rerere-autoupdate
        t3504: use test_commit
        rebase -i: honor --rerere-autoupdate
        rebase: honor --rerere-autoupdate
        am: remember --rerere-autoupdate setting
      86c726f0
    • J
      Merge branch 'bw/push-options-recursively-to-submodules' into maint · eba2a68f
      Junio C Hamano 提交于
      "git push --recurse-submodules $there HEAD:$target" was not
      propagated down to the submodules, but now it is.
      
      * bw/push-options-recursively-to-submodules:
        submodule--helper: teach push-check to handle HEAD
      eba2a68f
    • J
      Merge branch 'ma/pager-per-subcommand-action' into maint · 702239d0
      Junio C Hamano 提交于
      The "tag.pager" configuration variable was useless for those who
      actually create tag objects, as it interfered with the use of an
      editor.  A new mechanism has been introduced for commands to enable
      pager depending on what operation is being carried out to fix this,
      and then "git tag -l" is made to run pager by default.
      
      If this works out OK, I think there are low-hanging fruits in
      other commands like "git branch" that outputs long list in one mode
      while taking input in another.
      
      * ma/pager-per-subcommand-action:
        git.c: ignore pager.* when launching builtin as dashed external
        tag: change default of `pager.tag` to "on"
        tag: respect `pager.tag` in list-mode only
        t7006: add tests for how git tag paginates
        git.c: provide setup_auto_pager()
        git.c: let builtins opt for handling `pager.foo` themselves
        builtin.h: take over documentation from api-builtin.txt
      702239d0
    • J
      Merge branch 'jk/rev-list-empty-input' into maint · c2a3bb47
      Junio C Hamano 提交于
      "git log --tag=no-such-tag" showed log starting from HEAD, which
      has been fixed---it now shows nothing.
      
      * jk/rev-list-empty-input:
        revision: do not fallback to default when rev_input_given is set
        rev-list: don't show usage when we see empty ref patterns
        revision: add rev_input_given flag
        t6018: flesh out empty input/output rev-list tests
      c2a3bb47
    • J
      Merge branch 'st/lib-gpg-kill-stray-agent' into maint · 638eb4e7
      Junio C Hamano 提交于
      Some versions of GnuPG fails to kill gpg-agent it auto-spawned
      and such a left-over agent can interfere with a test.  Work it
      around by attempting to kill one before starting a new test.
      
      * st/lib-gpg-kill-stray-agent:
        t: lib-gpg: flush gpg agent on startup
      638eb4e7
  2. 24 8月, 2017 17 次提交