1. 20 7月, 2012 5 次提交
  2. 16 7月, 2012 10 次提交
    • J
      Update draft release notes for 7th batch · 31c79549
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      31c79549
    • J
      Merge branch 'tg/maint-cache-name-compare' · 8fc824f3
      Junio C Hamano 提交于
      Even though the index can record pathnames longer than 1<<12 bytes,
      in some places we were not comparing them in full, potentially
      replacing index entries instead of adding.
      
      * tg/maint-cache-name-compare:
        cache_name_compare(): do not truncate while comparing paths
      8fc824f3
    • J
      Merge branch 'jk/index-pack-streaming-fix' · 37b92a9a
      Junio C Hamano 提交于
      The streaming index-pack introduced in 1.7.11 had a data corruption
      bug, and this should fix it.
      
      * jk/index-pack-streaming-fix:
        index-pack: loop while inflating objects in unpack_data
      37b92a9a
    • J
      Merge branch 'jk/maint-commit-amend-only-no-paths' · b9a0801a
      Junio C Hamano 提交于
      "git commit --amend --only --" was meant to allow "Clever" people to
      rewrite the commit message without making any change even when they
      have already changes for the next commit added to their index, but
      it never worked as advertised since it was introduced in 1.3.0 era.
      
      * jk/maint-commit-amend-only-no-paths:
        commit: fix "--amend --only" with no pathspec
      b9a0801a
    • J
      Merge branch 'cw/amend-commit-without-message' · 8647b585
      Junio C Hamano 提交于
      "commit --amend" used to refuse amending a commit with an empty log
      message, with or without "--allow-empty-message".
      
      * cw/amend-commit-without-message:
        Allow edit of empty message with commit --amend
      8647b585
    • J
      Merge branch 'jn/makefile-cleanup' · d06414b9
      Junio C Hamano 提交于
      Tightens dependency rules to avoid unnecessary recompilation, and
      cleans up our Makefile in general.
      
      * jn/makefile-cleanup:
        Makefile: document ground rules for target-specific dependencies
        Makefile: move GIT-VERSION-FILE dependencies closer to use
        Makefile: build instaweb similar to other scripts
        Makefile: update scripts when build-time parameters change
        Makefile: do not replace @@GIT_VERSION@@ in shell scripts
        Makefile: split prefix flags from GIT-CFLAGS
        Makefile: be silent when only GIT_USER_AGENT changes
        Makefile: split GIT_USER_AGENT from GIT-CFLAGS
        Makefile: do not replace @@GIT_USER_AGENT@@ in scripts
        Makefile: apply dependencies consistently to sparse/asm targets
        Makefile: do not have git.o depend on common-cmds.h
        Makefile: fold XDIFF_H and VCSSVN_H into LIB_H
        Makefile: fold MISC_H into LIB_H
        Makefile: sort LIB_H list
      d06414b9
    • J
      Merge branch 'ar/clone-honor-umask-at-top' · cc24a7fb
      Junio C Hamano 提交于
      A handful of files and directories we create had tighter than
      necessary permission bits when the user wanted to have group
      writability (e.g. by setting "umask 002").
      
      * ar/clone-honor-umask-at-top:
        add: create ADD_EDIT.patch with mode 0666
        rerere: make rr-cache fanout directory honor umask
        Restore umasks influence on the permissions of work tree created by clone
      cc24a7fb
    • J
      Merge branch 'jc/apply-3way' · f247b10a
      Junio C Hamano 提交于
      "git apply" learned to wiggle the base version and perform three-way
      merge when a patch does not exactly apply to the version you have.
      
      * jc/apply-3way:
        apply: tests for the --3way option
        apply: document --3way option
        apply: allow rerere() to work on --3way results
        apply: register conflicted stages to the index
        apply: --3way with add/add conflict
        apply: move verify_index_match() higher
        apply: plug the three-way merge logic in
        apply: fall back on three-way merge
        apply: accept -3/--3way command line option
        apply: move "already exists" logic to check_to_create()
        apply: move check_to_create_blob() closer to its sole caller
        apply: further split load_preimage()
        apply: refactor "previous patch" logic
        apply: split load_preimage() helper function out
        apply: factor out checkout_target() helper function
        apply: refactor read_file_or_gitlink()
        apply: clear_image() clears things a bit more
        apply: a bit more comments on PATH_TO_BE_DELETED
        apply: fix an incomplete comment in check_patch()
      f247b10a
    • J
      Merge branch 'cw/rebase-i-root' · 0cd993a7
      Junio C Hamano 提交于
      "git rebase [-i] --root $tip" can now be used to rewrite all the
      history down to the root.
      
      * cw/rebase-i-root:
        t3404: make test 57 work with dash and others
        Add tests for rebase -i --root without --onto
        rebase -i: support --root without --onto
      0cd993a7
    • J
      Merge branch 'pw/git-p4-move' · 77f3591d
      Junio C Hamano 提交于
      * pw/git-p4-move:
        git p4: add support for 'p4 move' in P4Submit
        git p4: refactor diffOpts calculation
      77f3591d
  3. 14 7月, 2012 11 次提交
    • J
      Merge branch 'pw/git-p4-jobs' · 7bdb7486
      Junio C Hamano 提交于
      Teach "git p4" to notice "Jobs:" in the log message and relay it to
      Perforce to trigger its "jobs" support.
      
      # By Pete Wyckoff
      * pw/git-p4-jobs:
        git p4: notice Jobs lines in git commit messages
        git p4 test: refactor marshal_dump
        git p4: remove unused P4Submit interactive setting
      7bdb7486
    • J
      Merge branch 'jk/push-delete-ref-error-message' · f06d47e7
      Junio C Hamano 提交于
      The error message from "git push $there :bogo" mentioned we tried
      and failed to guess what ref is being deleted based on the LHS of
      the refspec, which we don't.
      
      # By Jeff King
      * jk/push-delete-ref-error-message:
        push: don't guess at qualifying remote refs on deletion
      f06d47e7
    • J
      Sixth batch for 1.7.12 · 48c42ff6
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      48c42ff6
    • J
      Merge branch 'jc/refactor-diff-stdin' · d7afe648
      Junio C Hamano 提交于
      Due to the way "git diff --no-index" is bolted onto by touching the
      low level code that is shared with the rest of the "git diff" code,
      even though it has to work in a very different way, any comparison
      that involves a file "-" at the root level incorrectly tried to read
      from the standard input.  This cleans up the no-index codepath
      further to remove code that reads from the standard input from the
      core side, which is never necessary when git is running its usual
      diff operation.
      
      * jc/refactor-diff-stdin:
        diff-index.c: "git diff" has no need to read blob from the standard input
        diff-index.c: unify handling of command line paths
        diff-index.c: do not pretend paths are pathspecs
      d7afe648
    • J
      Merge branch 'tg/ce-namelen' · 4495f88c
      Junio C Hamano 提交于
      Trivially correct clean-up and micro optimization.
      
      * tg/ce-namelen:
        Replace strlen() with ce_namelen()
      4495f88c
    • J
      Merge branch 'tb/sanitize-decomposed-utf-8-pathname' · b856ad62
      Junio C Hamano 提交于
      Teaches git to normalize pathnames read from readdir(3) and all
      arguments from the command line into precomposed UTF-8 (assuming
      that they come as decomposed UTF-8) to work around issues on Mac OS.
      
      I think there still are other places that need conversion
      (e.g. paths that are read from stdin for some commands), but this
      should be a good first step in the right direction.
      
      * tb/sanitize-decomposed-utf-8-pathname:
        git on Mac OS and precomposed unicode
      b856ad62
    • J
      Merge branch 'mm/mediawiki-tests' · 6a9aa0c9
      Junio C Hamano 提交于
      * mm/mediawiki-tests:
        git-remote-mediawiki: be more defensive when requests fail
        git-remote-mediawiki: more efficient 'pull' in the best case
        git-remote-mediawiki: extract revision-importing loop to a function
        git-remote-mediawiki: refactor loop over revision ids
        git-remote-mediawiki: change return type of get_mw_pages
        git-remote-mediawiki (t9363): test 'File:' import and export
        git-remote-mediawiki: support for uploading file in test environment
        git-remote-mediawiki (t9362): test git-remote-mediawiki with UTF8 characters
        git-remote-mediawiki (t9361): test git-remote-mediawiki pull and push
        git-remote-mediawiki (t9360): test git-remote-mediawiki clone
        git-remote-mediawiki: test environment of git-remote-mediawiki
        git-remote-mediawiki: scripts to install, delete and clear a MediaWiki
      6a9aa0c9
    • J
      Merge branch 'jn/vcs-svn' · fde1cc1d
      Junio C Hamano 提交于
      vcs-svn updates to clean-up compilation, lift 32-bit limitations, etc.
      
      * jn/vcs-svn:
        vcs-svn: allow 64-bit Prop-Content-Length
        vcs-svn: suppress a signed/unsigned comparison warning
        vcs-svn: suppress a signed/unsigned comparison warning
        vcs-svn: suppress signed/unsigned comparison warnings
        vcs-svn: use strstr instead of memmem
        vcs-svn: use constcmp instead of prefixcmp
        vcs-svn: simplify cleanup in apply_one_window
        vcs-svn: avoid self-assignment in dummy initialization of pre_off
        vcs-svn: drop no-op reset methods
        vcs-svn: suppress -Wtype-limits warning
        vcs-svn: allow import of > 4GiB files
        vcs-svn: rename check_overflow and its arguments for clarity
      fde1cc1d
    • J
      Merge branch 'mm/mediawiki-file-attachments' · 2763aa2b
      Junio C Hamano 提交于
      "mediawiki" remote helper (in contrib/) learned to handle file
      attachments.
      
      * mm/mediawiki-file-attachments:
        git-remote-mediawiki: improve support for non-English Wikis
        git-remote-mediawiki: import "File:" attachments
        git-remote-mediawiki: split get_mw_pages into smaller functions
        git-remote-mediawiki: send "File:" attachments to a remote wiki
        git-remote-mediawiki: don't "use encoding 'utf8';"
        git-remote-mediawiki: don't compute the diff when getting commit message
      2763aa2b
    • J
      Merge branch 'tr/maint-show-walk' · 5d8d296c
      Junio C Hamano 提交于
      Fixes "git show"'s auto-walking behaviour, and make it behave just
      like "git log" does when it walks.
      
      * tr/maint-show-walk:
        show: fix "range implies walking"
        Demonstrate git-show is broken with ranges
      5d8d296c
    • J
      Merge branch 'mz/rebase-no-mbox' · a1204bd7
      Junio C Hamano 提交于
      Teach "am --rebasing" codepath to grab authorship, log message and
      the patch text directly out of existing commits.  This will help
      rebasing commits that have confusing "diff" output in their log
      messages.
      
      * mz/rebase-no-mbox:
        am: don't call mailinfo if $rebasing
        am --rebasing: get patch body from commit, not from mailbox
        rebase --root: print usage on too many args
        rebase: don't source git-sh-setup twice
      a1204bd7
  4. 13 7月, 2012 1 次提交
  5. 12 7月, 2012 13 次提交
    • J
      Reduce draft release notes to 1.7.12 · 2b533592
      Junio C Hamano 提交于
      Many "fixes since 1.7.11" items are now in the maintenance track
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      2b533592
    • J
      Sync with 1.7.11.2 · d5c771e2
      Junio C Hamano 提交于
      d5c771e2
    • J
      Git 1.7.11.2 · 8d141a1d
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      8d141a1d
    • J
      Merge branch 'jc/maint-blame-unique-abbrev' into maint · b700086d
      Junio C Hamano 提交于
      "git blame" did not try to make sure that the abbreviated commit
      object names in its output are unique.
      
      * jc/maint-blame-unique-abbrev:
        blame: compute abbreviation width that ensures uniqueness
      b700086d
    • J
      Merge branch 'rj/platform-pread-may-be-thread-unsafe' into maint · 2e1e8efc
      Junio C Hamano 提交于
      On Cygwin, the platform pread(2) is not thread safe, just like our own
      compat/ emulation, and cannot be used in the index-pack program.
      Makefile variable NO_THREAD_SAFE_PREAD can be defined to avoid use of
      this function in a threaded program.
      
      * rj/platform-pread-may-be-thread-unsafe:
        index-pack: Disable threading on cygwin
      2e1e8efc
    • J
      Merge branch 'th/diff-no-index-fixes' into maint · 36c5109e
      Junio C Hamano 提交于
      "git diff --no-index" did not correctly handle relative paths and
      did not correctly give exit codes when run under "--quiet" option.
      
      * th/diff-no-index-fixes:
        diff-no-index: exit(1) if 'diff --quiet <repo file> <external file>' finds changes
        diff: handle relative paths in no-index
      36c5109e
    • J
      Merge branch 'nd/clone-single-fix' into maint · 4ac01b0c
      Junio C Hamano 提交于
      "git clone --single-branch" to clone a single branch did not limit
      the cloning to the specified branch.
      
      * nd/clone-single-fix:
        clone: fix ref selection in --single-branch --branch=xxx
      4ac01b0c
    • J
      Merge branch 'jc/rev-list-simplify-merges-first-parent' into maint · c8382c15
      Junio C Hamano 提交于
      When "git log" gets "--simplify-merges/by-decoration" together with
      "--first-parent", the combination of these options makes the
      simplification logic to use in-core commit objects that haven't been
      examined for relevance, either producing incorrect result or taking
      too long to produce any output.  Teach the simplification logic to
      ignore commits that the first-parent traversal logic ignored when
      both are in effect to work around the issue.
      
      * jc/rev-list-simplify-merges-first-parent:
        revision: ignore side parents while running simplify-merges
        revision: note the lack of free() in simplify_merges()
        revision: "simplify" options imply topo-order sort
      c8382c15
    • J
      Merge branch 'hv/submodule-update-nuke-submodules' into maint · a101eb41
      Junio C Hamano 提交于
      "git add" allows adding a regular file to the path where a submodule
      used to exist, but "git update-index" did not allow an equivalent
      operation to Porcelain writers.
      
      * hv/submodule-update-nuke-submodules:
        update-index: allow overwriting existing submodule index entries
      a101eb41
    • J
      Merge branch 'jk/diff-no-index-pager' into maint · 95c9eb8f
      Junio C Hamano 提交于
      "git diff --no-index" did not work with pagers correctly.
      
      * jk/diff-no-index-pager:
        do not run pager with diff --no-index --quiet
        fix pager.diff with diff --no-index
      95c9eb8f
    • J
      Merge branch 'mm/verify-filename-fix' into maint · 9ca72493
      Junio C Hamano 提交于
      "git diff COPYING HEAD:COPYING" gave a nonsense error message that
      claimed that the treeish HEAD did not have COPYING in it.
      
      * mm/verify-filename-fix:
        verify_filename(): ask the caller to chose the kind of diagnosis
        sha1_name: do not trigger detailed diagnosis for file arguments
      9ca72493
    • J
      Merge branch 'cn/cherry-pick-range-docs' into maint · a0ceb72f
      Junio C Hamano 提交于
      The documentation for "git cherry-pick A B..C" was misleading.
      
      * cn/cherry-pick-range-docs:
        git-cherry-pick.txt: clarify the use of revision range notation
        Documentation: --no-walk is no-op if range is specified
      a0ceb72f
    • J
      Merge branch 'jc/ustar-checksum-is-unsigned' into maint · cf04a660
      Junio C Hamano 提交于
      "git archive" incorrectly computed the header checksum; the symptom
      was observed only when using pathnames with hi-bit set.
      
      * jc/ustar-checksum-is-unsigned:
        archive: ustar header checksum is computed unsigned
      cf04a660