Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure that fsck only sees NUL-terminated buffers #5

Closed
wants to merge 210 commits into from
Closed

Commits on Aug 26, 2014

  1. Merge branch 'ta/config-set' into next

    Add in-core caching layer to let us avoid reading the same
    configuration files number of times.
    
    * ta/config-set:
      test-config: add tests for the config_set API
      add `config_set` API for caching config-like files
    gitster committed Aug 26, 2014
    Configuration menu
    Copy the full SHA
    81395f9 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'jk/pretty-empty-format' into next

    "git log --pretty/format=" with an empty format string did not mean
    the more obvious "No output whatsoever" but "Use default format",
    which was counterintuitive.
    
    * jk/pretty-empty-format:
      pretty: make empty userformats truly empty
      pretty: treat "--format=" as an empty userformat
      revision: drop useless string offset when parsing "--pretty"
    gitster committed Aug 26, 2014
    Configuration menu
    Copy the full SHA
    1eb7cc3 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'pr/remotes-in-hashmap' into next

    Optimize remotes configuration look-up in a repository with very
    many remotes defined.
    
    * pr/remotes-in-hashmap:
      use a hashmap to make remotes faster
    gitster committed Aug 26, 2014
    Configuration menu
    Copy the full SHA
    2052a31 View commit details
    Browse the repository at this point in the history
  4. Merge branch 'bc/archive-pax-header-mode' into next

    Implementations of "tar" that do not understand an extended pax
    header would extract the contents of it in a regular file; make
    sure the permission bits of this file follows the same tar.umask
    configuration setting.
    
    * bc/archive-pax-header-mode:
      archive: honor tar.umask even for pax headers
    gitster committed Aug 26, 2014
    Configuration menu
    Copy the full SHA
    51fca1a View commit details
    Browse the repository at this point in the history
  5. Merge branch 'ta/pretty-parse-config' into next

    * ta/pretty-parse-config:
      pretty.c: make git_pretty_formats_config return -1 on git_config_string failure
    gitster committed Aug 26, 2014
    Configuration menu
    Copy the full SHA
    901e8c2 View commit details
    Browse the repository at this point in the history
  6. Merge branch 'jc/reopen-lock-file' into next

    Needed in the "commit -p" code path to update the cache tree in the
    index (e.g. for dt/cache-tree-repair topic).
    
    * jc/reopen-lock-file:
      lockfile: allow reopening a closed but still locked file
    gitster committed Aug 26, 2014
    Configuration menu
    Copy the full SHA
    c5a5a12 View commit details
    Browse the repository at this point in the history
  7. Merge branch 'dt/cache-tree-repair' into next

    Add a few more places in "commit" and "checkout" that make sure
    that the cache-tree is fully populated in the index.
    
    * dt/cache-tree-repair:
      cache-tree: Write updated cache-tree after commit
      cache-tree: subdirectory tests
      test-dump-cache-tree: invalid trees are not errors
      cache-tree: create/update cache-tree on checkout
    
    # Conflicts:
    # 	builtin/checkout.c
    # 	builtin/commit.c
    gitster committed Aug 26, 2014
    Configuration menu
    Copy the full SHA
    6faccdb View commit details
    Browse the repository at this point in the history
  8. Merge branch 'mm/config-edit-global' into next

    Start "git config --edit --global" from a skeletal per-user
    configuration file contents, instead of a total blank, when the
    user does not already have any.  This immediately reduces the need
    for a later "Have you forgotten setting core.user?" and we can add
    more to the template as we gain more experience.
    
    * mm/config-edit-global:
      commit: advertise config --global --edit on guessed identity
      home_config_paths(): let the caller ignore xdg path
      config --global --edit: create a template file if needed
    gitster committed Aug 26, 2014
    Configuration menu
    Copy the full SHA
    3a47fc5 View commit details
    Browse the repository at this point in the history
  9. Merge branch 'rs/init-no-duplicate-real-path' into next

    * rs/init-no-duplicate-real-path:
      init: avoid superfluous real_path() calls
    gitster committed Aug 26, 2014
    Configuration menu
    Copy the full SHA
    c66e1c4 View commit details
    Browse the repository at this point in the history
  10. Merge branch 'rs/strbuf-getcwd' into next

    Reduce the use of fixed sized buffer passed to getcwd() calls
    by introducing xgetcwd() helper.
    
    * rs/strbuf-getcwd:
      use strbuf_add_absolute_path() to add absolute paths
      abspath: convert absolute_path() to strbuf
      use xgetcwd() to set $GIT_DIR
      use xgetcwd() to get the current directory or die
      wrapper: add xgetcwd()
      abspath: convert real_path_internal() to strbuf
      abspath: use strbuf_getcwd() to remember original working directory
      setup: convert setup_git_directory_gently_1 et al. to strbuf
      unix-sockets: use strbuf_getcwd()
      strbuf: add strbuf_getcwd()
    gitster committed Aug 26, 2014
    Configuration menu
    Copy the full SHA
    11be0d6 View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2014

  1. Merge branch 'master' into next

    * master:
      po/TEAMS: add new members to German translation team
      l10n: de.po: translate 38 new messages
    gitster committed Aug 29, 2014
    Configuration menu
    Copy the full SHA
    6e84aa9 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'bc/imap-send-doc' into next

    * bc/imap-send-doc:
      imap-send doc: omit confusing "to use imap-send" modifier
    gitster committed Aug 29, 2014
    Configuration menu
    Copy the full SHA
    2ea514b View commit details
    Browse the repository at this point in the history
  3. Merge branch 'jk/command-line-config-empty-string' into next

    "git -c section.var command" and "git -c section.var= command"
    should pass the configuration differently (the former should be
    a boolean true, the latter should be an empty string).
    
    * jk/command-line-config-empty-string:
      config: teach "git -c" to recognize an empty string
    gitster committed Aug 29, 2014
    Configuration menu
    Copy the full SHA
    74f04af View commit details
    Browse the repository at this point in the history
  4. Merge branch 'jc/apply-ws-prefix' into next

    Applying a patch not generated by Git in a subdirectory used to
    check the whitespace breakage using the attributes for incorrect
    paths. Also whitespace checks were performed even for paths
    excluded via "git apply --exclude=<path>" mechanism.
    
    * jc/apply-ws-prefix:
      apply: omit ws check for excluded paths
      apply: hoist use_patch() helper for path exclusion up
      apply: use the right attribute for paths in non-Git patches
    gitster committed Aug 29, 2014
    Configuration menu
    Copy the full SHA
    67967d3 View commit details
    Browse the repository at this point in the history
  5. Merge branch 'lf/bundle-exclusion' into next

    * lf/bundle-exclusion:
      bundle: fix exclusion of annotated tags
    gitster committed Aug 29, 2014
    Configuration menu
    Copy the full SHA
    d84b102 View commit details
    Browse the repository at this point in the history
  6. Merge branch 'mm/log-branch-desc-plug-leak' into next

    * mm/log-branch-desc-plug-leak:
      builtin/log.c: fix minor memory leak
    gitster committed Aug 29, 2014
    Configuration menu
    Copy the full SHA
    3580add View commit details
    Browse the repository at this point in the history
  7. Merge branch 'jk/stash-list-p' into next

    Teach "git stash list -p" to show the difference between the base
    commit version and the working tree version, which is in line with
    what "git show" gives.
    
    * jk/stash-list-p:
      stash: default listing to working-tree diff
    gitster committed Aug 29, 2014
    Configuration menu
    Copy the full SHA
    db94527 View commit details
    Browse the repository at this point in the history
  8. Merge branch 'la/init-doc' into next

    * la/init-doc:
      Documentation: git-init: flesh out example
      Documentation: git-init: template directory: reword and cross-reference
      Documentation: git-init: reword parenthetical statements
      Documentation: git-init: --separate-git-dir: clarify
      Documentation: git-init: template directory: reword
      Documentation: git-init: list items facelift
      Documentation: git-init: typographical fixes
    gitster committed Aug 29, 2014
    Configuration menu
    Copy the full SHA
    2cf846b View commit details
    Browse the repository at this point in the history
  9. Merge branch 'tf/imap-send-create' into next

    * tf/imap-send-create:
      imap-send: create target mailbox if it is missing
      imap-send: clarify CRAM-MD5 vs LOGIN documentation
    gitster committed Aug 29, 2014
    Configuration menu
    Copy the full SHA
    8390945 View commit details
    Browse the repository at this point in the history
  10. Merge branch 'rs/refresh-beyond-symlink' into next

    "git add x" where x that used to be a directory has become a
    symbolic link to a directory misbehaved.
    
    * rs/refresh-beyond-symlink:
      read-cache: check for leading symlinks when refreshing index
    gitster committed Aug 29, 2014
    Configuration menu
    Copy the full SHA
    90a4a8b View commit details
    Browse the repository at this point in the history
  11. Merge branch 'sb/plug-leaks' into next

    * sb/plug-leaks:
      clone.c: don't leak memory in cmd_clone
      remote.c: don't leak the base branch name in format_tracking_info
    gitster committed Aug 29, 2014
    Configuration menu
    Copy the full SHA
    e42f0b8 View commit details
    Browse the repository at this point in the history
  12. Merge branch 'nd/strbuf-utf8-replace' into next

    * nd/strbuf-utf8-replace:
      utf8.c: fix strbuf_utf8_replace() consuming data beyond input string
    gitster committed Aug 29, 2014
    Configuration menu
    Copy the full SHA
    5d1ddf4 View commit details
    Browse the repository at this point in the history
  13. Merge branch 'sb/blame-msg-i18n' into next

    * sb/blame-msg-i18n:
      builtin/blame.c: add translation to warning about failed revision walk
    gitster committed Aug 29, 2014
    Configuration menu
    Copy the full SHA
    5b33466 View commit details
    Browse the repository at this point in the history
  14. Merge branch 'sb/prepare-revision-walk-error-check' into next

    * sb/prepare-revision-walk-error-check:
      prepare_revision_walk(): check for return value in all places
    gitster committed Aug 29, 2014
    Configuration menu
    Copy the full SHA
    fb82508 View commit details
    Browse the repository at this point in the history
  15. Merge branch 'so/rebase-doc' into next

    May need description on what makes various modes of operation to
    decide that the request can become a "no-op".
    
    * so/rebase-doc:
      Documentation/git-rebase.txt: -f forces a rebase that would otherwise be a no-op
    gitster committed Aug 29, 2014
    Configuration menu
    Copy the full SHA
    77cfce1 View commit details
    Browse the repository at this point in the history
  16. Merge branch 'jc/not-mingw-cygwin' into next

    We have been using NOT_{MINGW,CYGWIN} test prerequisites long
    before Peff invented support for negated prerequisites e.g. !MINGW
    and we still add more uses of the former.  Convert them to the
    latter to avoid confusion.
    
    * jc/not-mingw-cygwin:
      test prerequisites: enumerate with commas
      test prerequisites: eradicate NOT_FOO
    gitster committed Aug 29, 2014
    Configuration menu
    Copy the full SHA
    0d00bb7 View commit details
    Browse the repository at this point in the history
  17. Merge branch 'km/no-apple-common-crypto-on-darwin-8-and-below' into next

    Build automation for older versions of MacOS X.
    
    * km/no-apple-common-crypto-on-darwin-8-and-below:
      config.mak.uname: set NO_APPLE_COMMON_CRYPTO on older systems
    gitster committed Aug 29, 2014
    Configuration menu
    Copy the full SHA
    8abb416 View commit details
    Browse the repository at this point in the history
  18. Merge branch 'jc/config-mak-document-darwin-vs-macosx' into next

    * jc/config-mak-document-darwin-vs-macosx:
      config.mak.uname: add hint on uname_R for MacOS X
    gitster committed Aug 29, 2014
    Configuration menu
    Copy the full SHA
    55e28af View commit details
    Browse the repository at this point in the history
  19. Merge branch 'rs/clean-menu-item-defn' into next

    * rs/clean-menu-item-defn:
      clean: use f(void) instead of f() to declare a pointer to a function without arguments
    gitster committed Aug 29, 2014
    Configuration menu
    Copy the full SHA
    88c1a9d View commit details
    Browse the repository at this point in the history
  20. Merge branch 'rs/inline-compat-path-macros' into next

    * rs/inline-compat-path-macros:
      turn path macros into inline function
    gitster committed Aug 29, 2014
    Configuration menu
    Copy the full SHA
    5705ad5 View commit details
    Browse the repository at this point in the history
  21. Merge branch 'ta/config-add-to-empty-or-true-fix' into next

    * ta/config-add-to-empty-or-true-fix:
      make config --add behave correctly for empty and NULL values
    gitster committed Aug 29, 2014
    Configuration menu
    Copy the full SHA
    d219212 View commit details
    Browse the repository at this point in the history
  22. Merge branch 'jk/prompt-stash-could-be-packed' into next

    The prompt script checked $GIT_DIR/ref/stash file to see if there
    is a stash, which was a no-no.
    
    * jk/prompt-stash-could-be-packed:
      git-prompt: do not look for refs/stash in $GIT_DIR
    gitster committed Aug 29, 2014
    Configuration menu
    Copy the full SHA
    526e3bd View commit details
    Browse the repository at this point in the history
  23. Merge branch 'sb/mailsplit-dead-code-removal' into next

    * sb/mailsplit-dead-code-removal:
      mailsplit.c: remove dead code
    gitster committed Aug 29, 2014
    Configuration menu
    Copy the full SHA
    4f9ca4f View commit details
    Browse the repository at this point in the history
  24. Merge branch 'tb/pretty-format-cd-date-format' into next

    Documentation update.
    
    * tb/pretty-format-cd-date-format:
      pretty: note that %cd respects the --date= option
    gitster committed Aug 29, 2014
    Configuration menu
    Copy the full SHA
    ab8ccd4 View commit details
    Browse the repository at this point in the history
  25. Merge branch 'sp/pack-protocol-doc-on-shallow' into next

    * sp/pack-protocol-doc-on-shallow:
      Document LF appearing in shallow command during send-pack/receive-pack
    gitster committed Aug 29, 2014
    Configuration menu
    Copy the full SHA
    b1ae451 View commit details
    Browse the repository at this point in the history

Commits on Sep 2, 2014

  1. Merge branch 'master' into next

    * master:
      Start the post-2.1 cycle
    gitster committed Sep 2, 2014
    Configuration menu
    Copy the full SHA
    7c4bc81 View commit details
    Browse the repository at this point in the history

Commits on Sep 3, 2014

  1. Merge branch 'dt/cache-tree-repair' into next

    Switching to another branch (or the same branch for that matter)
    while having a new path added caused an alarming error message where
    there is no problem.
    
    * dt/cache-tree-repair:
      cache-tree: do not try to use an invalidated subtree info to build a tree
    gitster committed Sep 3, 2014
    Configuration menu
    Copy the full SHA
    1c8ff65 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'rs/ref-transaction-1' into next

    The second batch of the transactional ref update series.
    
    * rs/ref-transaction-1: (22 commits)
      update-ref --stdin: pass transaction around explicitly
      update-ref --stdin: narrow scope of err strbuf
      refs.c: make delete_ref use a transaction
      refs.c: make prune_ref use a transaction to delete the ref
      refs.c: remove lock_ref_sha1
      refs.c: remove the update_ref_write function
      refs.c: remove the update_ref_lock function
      refs.c: make lock_ref_sha1 static
      walker.c: use ref transaction for ref updates
      fast-import.c: use a ref transaction when dumping tags
      receive-pack.c: use a reference transaction for updating the refs
      refs.c: change update_ref to use a transaction
      branch.c: use ref transaction for all ref updates
      fast-import.c: change update_branch to use ref transactions
      sequencer.c: use ref transactions for all ref updates
      commit.c: use ref transactions for updates
      replace.c: use the ref transaction functions for updates
      tag.c: use ref transactions when doing updates
      refs.c: add transaction.status and track OPEN/CLOSED
      refs.c: make ref_transaction_begin take an err argument
      ...
    gitster committed Sep 3, 2014
    Configuration menu
    Copy the full SHA
    68e20b8 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'mm/discourage-commit-a-to-finish-conflict-resolution' i…

    …nto next
    
    * mm/discourage-commit-a-to-finish-conflict-resolution:
      merge, pull: stop advising 'commit -a' in case of conflict
    gitster committed Sep 3, 2014
    Configuration menu
    Copy the full SHA
    e3f872f View commit details
    Browse the repository at this point in the history
  4. Merge branch 'ta/config-set-1' into next

    Use the new caching config-set API in git_config() calls.
    
    * ta/config-set-1:
      add tests for `git_config_get_string_const()`
      add a test for semantic errors in config files
      rewrite git_config() to use the config-set API
      config: add `git_die_config()` to the config-set API
      change `git_config()` return value to void
      add line number and file name info to `config_set`
      config.c: fix accuracy of line number in errors
      config.c: mark error and warnings strings for translation
    gitster committed Sep 3, 2014
    Configuration menu
    Copy the full SHA
    184b2ef View commit details
    Browse the repository at this point in the history
  5. Merge branch 'ta/config-set-2' into next

    Update git_config() users with callback functions for a very narrow
    scope with calls to config-set API that lets us query a single
    variable.
    
    * ta/config-set-2:
      builtin/apply.c: replace `git_config()` with `git_config_get_string_const()`
      merge-recursive.c: replace `git_config()` with `git_config_get_int()`
      ll-merge.c: refactor `read_merge_config()` to use `git_config_string()`
      fast-import.c: replace `git_config()` with `git_config_get_*()` family
      branch.c: replace `git_config()` with `git_config_get_string()
      alias.c: replace `git_config()` with `git_config_get_string()`
      imap-send.c: replace `git_config()` with `git_config_get_*()` family
      pager.c: replace `git_config()` with `git_config_get_value()`
      builtin/gc.c: replace `git_config()` with `git_config_get_*()` family
      rerere.c: replace `git_config()` with `git_config_get_*()` family
      fetchpack.c: replace `git_config()` with `git_config_get_*()` family
      archive.c: replace `git_config()` with `git_config_get_bool()` family
      read-cache.c: replace `git_config()` with `git_config_get_*()` family
      http-backend.c: replace `git_config()` with `git_config_get_bool()` family
      daemon.c: replace `git_config()` with `git_config_get_bool()` family
    gitster committed Sep 3, 2014
    Configuration menu
    Copy the full SHA
    f2eff02 View commit details
    Browse the repository at this point in the history
  6. Merge branch 'rs/child-process-init' into next

    Code cleanup.
    
    * rs/child-process-init:
      run-command: inline prepare_run_command_v_opt()
      run-command: call run_command_v_opt_cd_env() instead of duplicating it
      run-command: introduce child_process_init()
      run-command: introduce CHILD_PROCESS_INIT
    gitster committed Sep 3, 2014
    Configuration menu
    Copy the full SHA
    c17c06c View commit details
    Browse the repository at this point in the history
  7. Merge branch 'br/http-init-fix' into next

    Code cleanup.
    
    * br/http-init-fix:
      http: style fixes for curl_multi_init error check
      http.c: die if curl_*_init fails
    gitster committed Sep 3, 2014
    Configuration menu
    Copy the full SHA
    6d42f5e View commit details
    Browse the repository at this point in the history
  8. Merge branch 'et/spell-poll-infinite-with-minus-one-only' into next

    We used to pass -1000 to poll(2), expecting it to also mean "no
    timeout", which should be spelled as -1.
    
    * et/spell-poll-infinite-with-minus-one-only:
      upload-pack: keep poll(2)'s timeout to -1
    gitster committed Sep 3, 2014
    Configuration menu
    Copy the full SHA
    5be5957 View commit details
    Browse the repository at this point in the history
  9. Merge branch 'jk/make-simplify-dependencies' into next

    Admit that keeping LIB_H up-to-date, only for those that do not use
    the automatically generated dependencies, is a losing battle, and
    make it conservative by making everything depend on anything.
    
    * jk/make-simplify-dependencies:
      Makefile: drop CHECK_HEADER_DEPENDENCIES code
      Makefile: use `find` to determine static header dependencies
      i18n: treat "make pot" as an explicitly-invoked target
    gitster committed Sep 3, 2014
    Configuration menu
    Copy the full SHA
    820a600 View commit details
    Browse the repository at this point in the history
  10. Merge branch 'jk/contrib-subtree-make-all' into next

    * jk/contrib-subtree-make-all:
      subtree: make "all" default target of Makefile
    gitster committed Sep 3, 2014
    Configuration menu
    Copy the full SHA
    919d889 View commit details
    Browse the repository at this point in the history
  11. Merge branch 'nd/mv-code-cleaning' into next

    Code cleaning.
    
    * nd/mv-code-cleaning:
      mv: no SP between function name and the first opening parenthese
      mv: combine two if(s)
      mv: unindent one level for directory move code
      mv: move index search code out
      mv: remove an "if" that's always true
      mv: split submodule move preparation code out
      mv: flatten error handling code block
      mv: mark strings for translations
    gitster committed Sep 3, 2014
    Configuration menu
    Copy the full SHA
    4315447 View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2014

  1. Merge branch 'jn/unpack-trees-checkout-m-carry-deletion' into next

    "git checkout -m" did not switch to another branch while carrying
    the local changes forward when a path was deleted from the index.
    
    * jn/unpack-trees-checkout-m-carry-deletion:
      checkout -m: attempt merge when deletion of path was staged
      unpack-trees: use 'cuddled' style for if-else cascade
      unpack-trees: simplify 'all other failures' case
    gitster committed Sep 4, 2014
    Configuration menu
    Copy the full SHA
    e15803a View commit details
    Browse the repository at this point in the history
  2. Merge branch 'nd/large-blobs' into next

    Teach a few codepaths to punt (instead of dying) when large blobs
    that would not fit in core are involved in the operation.
    
    * nd/large-blobs:
      diff: shortcut for diff'ing two binary SHA-1 objects
      diff --stat: mark any file larger than core.bigfilethreshold binary
      diff.c: allow to pass more flags to diff_populate_filespec
      sha1_file.c: do not die failing to malloc in unpack_compressed_entry
      wrapper.c: introduce gentle xmallocz that does not die()
    gitster committed Sep 4, 2014
    Configuration menu
    Copy the full SHA
    16d7c62 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'rs/list-optim' into next

    Fix a couple of "accumulate into a sorted list" to "accumulate and
    then sort the list".
    
    * rs/list-optim:
      walker: avoid quadratic list insertion in mark_complete
      sha1_name: avoid quadratic list insertion in handle_one_ref
    gitster committed Sep 4, 2014
    Configuration menu
    Copy the full SHA
    eecaf99 View commit details
    Browse the repository at this point in the history
  4. Merge branch 'jk/prune-top-level-refs-after-packing' into next

    After "pack-refs --prune" packed refs at the top-level, it failed
    to prune them.
    
    * jk/prune-top-level-refs-after-packing:
      pack-refs: prune top-level refs like "refs/foo"
    gitster committed Sep 4, 2014
    Configuration menu
    Copy the full SHA
    bfe3873 View commit details
    Browse the repository at this point in the history
  5. Merge branch 'nd/fetch-pass-quiet-to-gc-child-process' into next

    Progress output from "git gc --auto" was visible in "git fetch -q".
    
    * nd/fetch-pass-quiet-to-gc-child-process:
      fetch: silence git-gc if --quiet is given
      fetch: convert argv_gc_auto to struct argv_array
    gitster committed Sep 4, 2014
    Configuration menu
    Copy the full SHA
    028cd42 View commit details
    Browse the repository at this point in the history
  6. Merge branch 'jk/fast-import-fixes' into next

    With sufficiently long refnames, fast-import could have overflown
    an on-stack buffer.
    
    * jk/fast-import-fixes:
      fast-import: fix buffer overflow in dump_tags
      fast-import: clean up pack_data pointer in end_packfile
    gitster committed Sep 4, 2014
    Configuration menu
    Copy the full SHA
    74838e5 View commit details
    Browse the repository at this point in the history
  7. Merge branch 'jk/name-decoration-alloc' into next

    The API to allocate the structure to keep track of commit
    decoration was cumbersome to use, inviting lazy code to
    overallocate memory.
    
    * jk/name-decoration-alloc:
      log-tree: use FLEX_ARRAY in name_decoration
      log-tree: make name_decoration hash static
      log-tree: make add_name_decoration a public function
    gitster committed Sep 4, 2014
    Configuration menu
    Copy the full SHA
    05f0d29 View commit details
    Browse the repository at this point in the history
  8. Merge branch 'br/imap-send-simplify-tunnel-child-process' into next

    Code cleaning.
    
    * br/imap-send-simplify-tunnel-child-process:
      imap-send: simplify v_issue_imap_cmd() and get_cmd_result() using starts_with()
      imap-send.c: imap_folder -> imap_server_conf.folder
      git-imap-send: simplify tunnel construction
    gitster committed Sep 4, 2014
    Configuration menu
    Copy the full SHA
    a182987 View commit details
    Browse the repository at this point in the history

Commits on Sep 9, 2014

  1. Merge branch 'master' into next

    * master:
      Update draft release notes to 2.2
    gitster committed Sep 9, 2014
    Configuration menu
    Copy the full SHA
    90a3d47 View commit details
    Browse the repository at this point in the history

Commits on Sep 11, 2014

  1. Merge branch 'master' into next

    * master:
      Update draft release notes to 2.2
    gitster committed Sep 11, 2014
    Configuration menu
    Copy the full SHA
    9363127 View commit details
    Browse the repository at this point in the history

Commits on Sep 12, 2014

  1. Merge branch 'jk/send-pack-many-refspecs' into next

    The number of refs that can be pushed at once over smart HTTP was
    limited by the command line length.  The limitation has been lifted
    by passing these refs from the standard input of send-pack.
    
    * jk/send-pack-many-refspecs:
      send-pack: take refspecs over stdin
    gitster committed Sep 12, 2014
    Configuration menu
    Copy the full SHA
    7f4ae4e View commit details
    Browse the repository at this point in the history
  2. Merge branch 'jk/fast-export-anonymize' into next

    Sometimes users want to report a bug they experience on their
    repository, but they are not at liberty to share the contents of
    the repository.  "fast-export" was taught an "--anonymize" option
    to replace blob contents, names of people and paths and log
    messages with bland and simple strings to help them.
    
    * jk/fast-export-anonymize:
      docs/fast-export: explain --anonymize more completely
      teach fast-export an --anonymize option
    gitster committed Sep 12, 2014
    Configuration menu
    Copy the full SHA
    0af10fa View commit details
    Browse the repository at this point in the history
  3. Merge branch 'mb/build-contrib-svn-fe' into next

    * mb/build-contrib-svn-fe:
      contrib/svn-fe: fix Makefile
    gitster committed Sep 12, 2014
    Configuration menu
    Copy the full SHA
    acb252b View commit details
    Browse the repository at this point in the history
  4. Merge branch 'bb/date-iso-strict' into next

    "log --date=iso" uses a slight variant of ISO 8601 format that is
    made more human readable.  A new "--date=iso-strict" option gives
    datetime output that is more strictly conformant.
    
    * bb/date-iso-strict:
      pretty: provide a strict ISO 8601 date format
    gitster committed Sep 12, 2014
    Configuration menu
    Copy the full SHA
    c9d415d View commit details
    Browse the repository at this point in the history
  5. Merge branch 'jk/commit-author-parsing' into next

    Code clean-up.
    
    * jk/commit-author-parsing:
      determine_author_info(): copy getenv output
      determine_author_info(): reuse parsing functions
      date: use strbufs in date-formatting functions
      record_author_date(): use find_commit_header()
      record_author_date(): fix memory leak on malformed commit
      commit: provide a function to find a header in a buffer
    gitster committed Sep 12, 2014
    Configuration menu
    Copy the full SHA
    cfbb6b6 View commit details
    Browse the repository at this point in the history
  6. Merge branch 'jk/index-pack-threading-races' into next

    When receiving an invalid pack stream that records the same object
    twice, multiple threads got confused due to a race.  We should
    reject or correct such a stream upon receiving, but that will be a
    larger change.
    
    * jk/index-pack-threading-races:
      index-pack: fix race condition with duplicate bases
    gitster committed Sep 12, 2014
    Configuration menu
    Copy the full SHA
    9241312 View commit details
    Browse the repository at this point in the history
  7. Merge branch 'jp/index-with-corrupt-stages' into next

    A broken reimplementation of Git could write an invalid index that
    records both stage #0 and higher stage entries for the same path.
    Notice and reject such an index, as there is no sensible fallback
    (we do not know if the broken tool wanted to resolve and forgot to
    remove higher stage entries, or if it wanted to unresolve and
    forgot to remove the stage#0 entry).
    
    * jp/index-with-corrupt-stages:
      read_index_unmerged(): remove unnecessary loop index adjustment
      read_index_from(): catch out of order entries when reading an index file
    gitster committed Sep 12, 2014
    Configuration menu
    Copy the full SHA
    54016d5 View commit details
    Browse the repository at this point in the history
  8. Merge branch 'mb/fast-import-delete-root' into next

    An attempt to remove the entire tree in the "git fast-import" input
    stream caused it to misbehave.
    
    * mb/fast-import-delete-root:
      fast-import: fix segfault in store_tree()
      t9300: test filedelete command
    gitster committed Sep 12, 2014
    Configuration menu
    Copy the full SHA
    d0fda49 View commit details
    Browse the repository at this point in the history
  9. Merge branch 'rs/more-uses-of-skip-prefix' into next

    Code clean-up.
    
    * rs/more-uses-of-skip-prefix:
      pack-write: simplify index_pack_lockfile using skip_prefix() and xstrfmt()
      connect: simplify check_ref() using skip_prefix() and starts_with()
    gitster committed Sep 12, 2014
    Configuration menu
    Copy the full SHA
    156a436 View commit details
    Browse the repository at this point in the history
  10. Merge branch 'ah/grammofix' into next

    * ah/grammofix:
      grammofix in user-facing messages
    gitster committed Sep 12, 2014
    Configuration menu
    Copy the full SHA
    58fbb44 View commit details
    Browse the repository at this point in the history
  11. Merge branch 'da/styles' into next

    * da/styles:
      stylefix: asterisks stick to the variable, not the type
    gitster committed Sep 12, 2014
    Configuration menu
    Copy the full SHA
    a22322e View commit details
    Browse the repository at this point in the history
  12. Merge branch 'rs/merge-tree-simplify' into next

    Code clean-up.
    
    * rs/merge-tree-simplify:
      merge-tree: remove unused df_conflict arguments
    gitster committed Sep 12, 2014
    Configuration menu
    Copy the full SHA
    5b4c349 View commit details
    Browse the repository at this point in the history
  13. Merge branch 'rs/simplify-config-include' into next

    Code clean-up.
    
    * rs/simplify-config-include:
      config: simplify git_config_include()
    gitster committed Sep 12, 2014
    Configuration menu
    Copy the full SHA
    e4ffd6d View commit details
    Browse the repository at this point in the history
  14. Merge branch 'rs/simplify-http-walker' into next

    Code clean-up.
    
    * rs/simplify-http-walker:
      http-walker: simplify process_alternates_response() using strbuf
    gitster committed Sep 12, 2014
    Configuration menu
    Copy the full SHA
    b5178d2 View commit details
    Browse the repository at this point in the history
  15. Merge branch 'tb/crlf-tests' into next

    * tb/crlf-tests:
      MinGW: update tests to handle a native eol of crlf
      Makefile: propagate NATIVE_CRLF to C
      t0027: Tests for core.eol=native, eol=lf, eol=crlf
    gitster committed Sep 12, 2014
    Configuration menu
    Copy the full SHA
    2c950af View commit details
    Browse the repository at this point in the history
  16. Merge branch 'as/calloc-takes-nmemb-then-size' into next

    Code clean-up.
    
    * as/calloc-takes-nmemb-then-size:
      calloc() and xcalloc() takes nmemb and then size
    gitster committed Sep 12, 2014
    Configuration menu
    Copy the full SHA
    a287484 View commit details
    Browse the repository at this point in the history
  17. Merge branch 'tb/complete-diff-ignore-blank-lines' into next

    * tb/complete-diff-ignore-blank-lines:
      completion: Add --ignore-blank-lines for diff
    gitster committed Sep 12, 2014
    Configuration menu
    Copy the full SHA
    1b7d259 View commit details
    Browse the repository at this point in the history
  18. Merge branch 'mk/reachable-protect-detached-head' into next

    * mk/reachable-protect-detached-head:
      reachable.c: add HEAD to reachability starting commits
    gitster committed Sep 12, 2014
    Configuration menu
    Copy the full SHA
    de2b50b View commit details
    Browse the repository at this point in the history
  19. Merge branch 'jc/parseopt-verify-short-name' into next

    Add checks for a common programming mistake to assign the same
    short option name to two separate options to help developers.
    
    * jc/parseopt-verify-short-name:
      parse-options: detect attempt to add a duplicate short option name
    gitster committed Sep 12, 2014
    Configuration menu
    Copy the full SHA
    43dba24 View commit details
    Browse the repository at this point in the history
  20. Merge branch 'kb/perf-trace' into next

    Compilation fix for some compilers.
    
    * kb/perf-trace:
      trace: correct trace_strbuf() parameter type for !HAVE_VARIADIC_MACROS
    gitster committed Sep 12, 2014
    Configuration menu
    Copy the full SHA
    371df71 View commit details
    Browse the repository at this point in the history
  21. Merge branch 'rs/export-strbuf-addchars' into next

    Code clean-up.
    
    * rs/export-strbuf-addchars:
      strbuf: use strbuf_addchars() for adding a char multiple times
      strbuf: export strbuf_addchars()
    gitster committed Sep 12, 2014
    Configuration menu
    Copy the full SHA
    8b25fe0 View commit details
    Browse the repository at this point in the history

Commits on Sep 15, 2014

  1. Merge branch 'ta/config-add-to-empty-or-true-fix' into next

    "git config --add section.var val" used to lose existing
    section.var whose value was an empty string.
    
    * ta/config-add-to-empty-or-true-fix:
      config: avoid a funny sentinel value "a^"
    gitster committed Sep 15, 2014
    Configuration menu
    Copy the full SHA
    af779a7 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'sp/doc-update-index-cacheinfo' into next

    * sp/doc-update-index-cacheinfo:
      Documentation: use single-parameter --cacheinfo in example
    gitster committed Sep 15, 2014
    Configuration menu
    Copy the full SHA
    11ec716 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'js/no-test-cmp-for-binaries' into next

    * js/no-test-cmp-for-binaries:
      t9300: use test_cmp_bin instead of test_cmp to compare binary files
    gitster committed Sep 15, 2014
    Configuration menu
    Copy the full SHA
    c5609e9 View commit details
    Browse the repository at this point in the history
  4. Merge branch 'mr/mark-i18n-log-rerere' into next

    * mr/mark-i18n-log-rerere:
      builtin/log.c: mark strings for translation
      rerere.h: mark string for translation
    gitster committed Sep 15, 2014
    Configuration menu
    Copy the full SHA
    ba35eb3 View commit details
    Browse the repository at this point in the history
  5. Merge branch 'ss/compat-default-source-for-newer-gnu' into next

    Compilation fix for newer GNU toolchain.
    
    * ss/compat-default-source-for-newer-gnu:
      compat-util: add _DEFAULT_SOURCE define
    gitster committed Sep 15, 2014
    Configuration menu
    Copy the full SHA
    0e87594 View commit details
    Browse the repository at this point in the history
  6. Merge branch 'master' into next

    * master:
      git-svn: delay term initialization
      git svn: find-rev allows short switches for near matches
      git-svn.txt: Remove mentions of repack options
      git svn: info: correctly handle absolute path args
      git-svn: branch: avoid systematic prompt for cert/pass
    gitster committed Sep 15, 2014
    Configuration menu
    Copy the full SHA
    86ff198 View commit details
    Browse the repository at this point in the history

Commits on Sep 18, 2014

  1. Merge branch 'jk/fsck-exit-code-fix' into next

    "git fsck" failed to report that it found corrupt objects via its
    exit status in some cases.
    
    * jk/fsck-exit-code-fix:
      fsck: return non-zero status on missing ref tips
      fsck: exit with non-zero status upon error from fsck_obj()
    gitster committed Sep 18, 2014
    Configuration menu
    Copy the full SHA
    34c696f View commit details
    Browse the repository at this point in the history
  2. Merge branch 'ir/makefile-typofix' into next

    * ir/makefile-typofix:
      Makefile: fix some typos in the preamble
    gitster committed Sep 18, 2014
    Configuration menu
    Copy the full SHA
    bc1c273 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'so/rebase-doc' into next

    * so/rebase-doc:
      Documentation/git-rebase.txt: <upstream> must be given to specify <branch>
    gitster committed Sep 18, 2014
    Configuration menu
    Copy the full SHA
    cce521d View commit details
    Browse the repository at this point in the history
  4. Merge branch 'wk/pre-push-sample-hook' into next

    * wk/pre-push-sample-hook:
      pre-push.sample: Write error message to stderr
    gitster committed Sep 18, 2014
    Configuration menu
    Copy the full SHA
    6f8c9d7 View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2014

  1. Merge branch 'jk/write-packed-refs-via-stdio' into next

    Optimize the code path to write out the packed-refs file, which
    especially matters in a repository with a large number of refs.
    
    * jk/write-packed-refs-via-stdio:
      refs: write packed_refs file using stdio
    gitster committed Sep 19, 2014
    Configuration menu
    Copy the full SHA
    f1e94fb View commit details
    Browse the repository at this point in the history
  2. Merge branch 'jc/hash-object' into next

    "hash-object" learned a new "--literally" option to hash any random
    garbage into a loose object, to allow us to create a test data for
    mechanisms to catch corrupt objects.
    
    * jc/hash-object:
      hash-object: add --literally option
      hash-object: pass 'write_object' as a flag
      hash-object: reduce file-scope statics
    gitster committed Sep 19, 2014
    Configuration menu
    Copy the full SHA
    ea6ac62 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'jk/faster-name-conflicts' into next

    Optimize the check to see if a ref $F can be created by making sure
    no existing ref has $F/ as its prefix, which especially matters in
    a repository with a large number of existing refs.
    
    * jk/faster-name-conflicts:
      refs: speed up is_refname_available
    gitster committed Sep 19, 2014
    Configuration menu
    Copy the full SHA
    34d2840 View commit details
    Browse the repository at this point in the history
  4. Merge branch 'js/fsck-tag-validation' into next

    Teach "git fsck" to inspect the contents of annotated tag objects.
    
    * js/fsck-tag-validation:
      Make sure that index-pack --strict checks tag objects
      Add regression tests for stricter tag fsck'ing
      fsck: check tag objects' headers
      Make sure fsck_commit_buffer() does not run out of the buffer
      fsck_object(): allow passing object data separately from the object itself
      Refactor type_from_string() to allow continuing after detecting an error
    gitster committed Sep 19, 2014
    Configuration menu
    Copy the full SHA
    4a62182 View commit details
    Browse the repository at this point in the history
  5. Merge branch 'jc/hash-object-fsck-tag' into next

    Using "hash-object --literally", test one of the new breakages
    js/fsck-tag-validation topic teaches "fsck" to catch is caught.
    
    * jc/hash-object-fsck-tag:
      t1450: make sure fsck detects a malformed tagger line
    gitster committed Sep 19, 2014
    Configuration menu
    Copy the full SHA
    f14a7fe View commit details
    Browse the repository at this point in the history
  6. Merge branch 'jk/prune-packed-server-info' into next

    Code cleanup.
    
    * jk/prune-packed-server-info:
      repack: call prune_packed_objects() and update_server_info() directly
      server-info: clean up after writing info/packs
      make update-server-info more robust
      prune-packed: fix minor memory leak
    gitster committed Sep 19, 2014
    Configuration menu
    Copy the full SHA
    5e6c398 View commit details
    Browse the repository at this point in the history
  7. Merge branch 'jc/ignore-sigpipe-while-running-hooks' into next

    pre- and post-receive hooks are no longer required to read all
    their inputs.
    
    * jc/ignore-sigpipe-while-running-hooks:
      receive-pack: allow hooks to ignore its standard input stream
    gitster committed Sep 19, 2014
    Configuration menu
    Copy the full SHA
    7abf293 View commit details
    Browse the repository at this point in the history
  8. Merge branch 'jk/close-stderr-of-credential-cache-deamon' into next

    Plug fd leaks.
    
    * jk/close-stderr-of-credential-cache-deamon:
      credential-cache: close stderr in daemon process
    gitster committed Sep 19, 2014
    Configuration menu
    Copy the full SHA
    51ba3be View commit details
    Browse the repository at this point in the history
  9. Merge branch 'jk/mbox-from-line' into next

    Some MUAs mangled a line in a message that begins with "From " to
    ">From " when writing to a mailbox file and feeding such an input
    to "git am" used to lose such a line.
    
    * jk/mbox-from-line:
      mailinfo: make ">From" in-body header check more robust
    gitster committed Sep 19, 2014
    Configuration menu
    Copy the full SHA
    314af77 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    7a54a76 View commit details
    Browse the repository at this point in the history

Commits on Sep 23, 2014

  1. Merge branch 'rs/realloc-array' into next

    Code cleanup.
    
    * rs/realloc-array:
      use REALLOC_ARRAY for changing the allocation size of arrays
      add macro REALLOC_ARRAY
    gitster committed Sep 23, 2014
    Configuration menu
    Copy the full SHA
    a5bb3a6 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'jk/branch-verbose-merged' into next

    The "--verbose" option no longer breaks "git branch --merged $it".
    
    * jk/branch-verbose-merged:
      branch: clean up commit flags after merge-filter walk
    gitster committed Sep 23, 2014
    Configuration menu
    Copy the full SHA
    d940d15 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'sb/help-unknown-command-sort-fix' into next

    Code cleanup.
    
    * sb/help-unknown-command-sort-fix:
      help: fix the size passed to qsort
    gitster committed Sep 23, 2014
    Configuration menu
    Copy the full SHA
    6ab29ed View commit details
    Browse the repository at this point in the history
  4. Merge branch 'hj/pretty-naked-decoration' into next

    The pretty-format specifier "%d", which expanded to " (tagname)"
    for a tagged commit, gained a cousin "%D" that just gives the
    "tagname" without frills.
    
    * hj/pretty-naked-decoration:
      pretty: add %D format specifier
    gitster committed Sep 23, 2014
    Configuration menu
    Copy the full SHA
    fb699c4 View commit details
    Browse the repository at this point in the history
  5. Merge branch 'da/rev-parse-verify-quiet' into next

    "rev-parse --verify --quiet $name" is meant to quietly exit with a
    non-zero status when $name is not a valid object name, but still
    gave error messages in some cases.
    
    * da/rev-parse-verify-quiet:
      stash: prefer --quiet over shell redirection of the standard error stream
      refs: make rev-parse --quiet actually quiet
      t1503: use test_must_be_empty
      Documentation: a note about stdout for git rev-parse --verify --quiet
    gitster committed Sep 23, 2014
    Configuration menu
    Copy the full SHA
    5ed184a View commit details
    Browse the repository at this point in the history
  6. Merge branch 'rs/graph-simplify' into next

    * rs/graph-simplify:
      graph: simplify graph_padding_line()
    gitster committed Sep 23, 2014
    Configuration menu
    Copy the full SHA
    72969e2 View commit details
    Browse the repository at this point in the history
  7. Merge branch 'rs/remote-simplify' into next

    * rs/remote-simplify:
      remote: simplify match_name_with_pattern() using strbuf
    gitster committed Sep 23, 2014
    Configuration menu
    Copy the full SHA
    176e316 View commit details
    Browse the repository at this point in the history
  8. Merge branch 'sb/t9300-typofix' into next

    * sb/t9300-typofix:
      t9300-fast-import: fix typo in test description
    gitster committed Sep 23, 2014
    Configuration menu
    Copy the full SHA
    aa519bd View commit details
    Browse the repository at this point in the history
  9. Merge branch 'sb/t6031-typofix' into next

    * sb/t6031-typofix:
      t6031-test-merge-recursive: do not forget to add file to be committed
    gitster committed Sep 23, 2014
    Configuration menu
    Copy the full SHA
    aec57a9 View commit details
    Browse the repository at this point in the history
  10. Merge branch 'jk/mbox-from-line' into next

    Some MUAs mangled a line in a message that begins with "From " to
    ">From " when writing to a mailbox file and feeding such an input
    to "git am" used to lose such a line.
    
    * jk/mbox-from-line:
      mailinfo: work around -Wstring-plus-int warning
    gitster committed Sep 23, 2014
    Configuration menu
    Copy the full SHA
    506b89b View commit details
    Browse the repository at this point in the history

Commits on Sep 24, 2014

  1. Merge branch 'jc/push-cert' into next

    Allow "git push" request to be signed, so that it can be verified and
    audited, using the GPG signature of the person who pushed, that the
    tips of branches at a public repository really point the commits
    the pusher wanted to, without having to "trust" the server.
    
    * jc/push-cert: (23 commits)
      signed push: allow stale nonce in stateless mode
      signed push: teach smart-HTTP to pass "git push --signed" around
      signed push: fortify against replay attacks
      signed push: add "pushee" header to push certificate
      signed push: remove duplicated protocol info
      send-pack: send feature request on push-cert packet
      receive-pack: GPG-validate push certificates
      push: the beginning of "git push --signed"
      pack-protocol doc: typofix for PKT-LINE
      gpg-interface: move parse_signature() to where it should be
      gpg-interface: move parse_gpg_output() to where it should be
      send-pack: clarify that cmds_sent is a boolean
      send-pack: refactor inspecting and resetting status and sending commands
      send-pack: rename "new_refs" to "need_pack_data"
      receive-pack: factor out capability string generation
      send-pack: factor out capability string generation
      send-pack: always send capabilities
      send-pack: refactor decision to send update per ref
      send-pack: move REF_STATUS_REJECT_NODELETE logic a bit higher
      receive-pack: factor out queueing of command
      ...
    gitster committed Sep 24, 2014
    Configuration menu
    Copy the full SHA
    a99f5d8 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'pr/use-default-sigpipe-setting' into next

    We used to get confused when a process called us with SIGPIPE
    ignored; we do want to die with SIGPIPE when the output is not
    read by default, and do ignore the signal when appropriate.
    
    * pr/use-default-sigpipe-setting:
      mingw.h: add dummy functions for sigset_t operations
      unblock and unignore SIGPIPE
    gitster committed Sep 24, 2014
    Configuration menu
    Copy the full SHA
    2d678ed View commit details
    Browse the repository at this point in the history
  3. Merge branch 'sb/merge-recursive-copy-paste-fix' into next

    "git merge-recursive" had a small bug that could have made it
    mishandle "one side deleted, the other side did not touch it" in a
    rare corner case, where the other side actually did touch to cause
    the blob object names to be different but both blobs before and
    after the change normalize to the same (e.g. correcting mistake to
    check in a blob with CRLF line endings by replacing it with another
    blob that records the same contents with LF line endings).
    
    * sb/merge-recursive-copy-paste-fix:
      merge-recursive: remove stale commented debugging code
      merge-recursive: fix copy-paste mistake
    gitster committed Sep 24, 2014
    Configuration menu
    Copy the full SHA
    b8dfbef View commit details
    Browse the repository at this point in the history

Commits on Sep 25, 2014

  1. Merge branch 'jc/push-cert' into next

    Fix a brown-paper-bag bug that caused only the first 8 or 4 bytes of
    the computed HMAC to be used in the final nonce synthesis.
    
    * 'jc/push-cert':
      receive-pack::hmac_sha1(): copy the entire SHA-1 hash out
    gitster committed Sep 25, 2014
    Configuration menu
    Copy the full SHA
    3eb1d69 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'jt/itimer-autoconf' into next

    Split the early part of jt/timer-settime topic out into a topic.
    
    * jt/itimer-autoconf:
      autoconf: check for setitimer()
      autoconf: check for struct itimerval
      git-compat-util.h: add missing semicolon after struct itimerval
    gitster committed Sep 25, 2014
    Configuration menu
    Copy the full SHA
    efd65ba View commit details
    Browse the repository at this point in the history
  3. Merge branch 'nd/archive-pathspec' into next

    "git archive" learned to filter what gets archived with pathspec.
    
    * nd/archive-pathspec:
      archive: support filtering paths with glob
    gitster committed Sep 25, 2014
    Configuration menu
    Copy the full SHA
    8806f93 View commit details
    Browse the repository at this point in the history
  4. Merge branch 'jc/test-lazy-prereq' into next

    Test-script clean-up.
    
    * jc/test-lazy-prereq:
      tests: drop GIT_*_TIMING_TESTS environment variable support
    gitster committed Sep 25, 2014
    Configuration menu
    Copy the full SHA
    ed479f3 View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2014

  1. Merge branch 'master' into next

    * master:
      Update draft release notes to 2.2
    gitster committed Sep 26, 2014
    Configuration menu
    Copy the full SHA
    85a663a View commit details
    Browse the repository at this point in the history

Commits on Sep 28, 2014

  1. Sync with master

    * master:
      l10n: de.po: use comma before "um"
      l10n: de.po: change Email to E-Mail
      po/TEAMS: add new member to German translation team
    gitster committed Sep 28, 2014
    Configuration menu
    Copy the full SHA
    990ffec View commit details
    Browse the repository at this point in the history

Commits on Sep 29, 2014

  1. Merge branch 'bw/use-write-script-in-tests' into next

    * bw/use-write-script-in-tests:
      t/lib-credential: use write_script
    gitster committed Sep 29, 2014
    Configuration menu
    Copy the full SHA
    be4056e View commit details
    Browse the repository at this point in the history
  2. Merge branch 'master' into next

    * master:
      Update draft release notes to 2.2
    gitster committed Sep 29, 2014
    Configuration menu
    Copy the full SHA
    4efa26b View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2014

  1. Merge branch 'sp/stream-clean-filter' into next

    When runinng a required clean filter, we do not have to mmap the
    original before feeding the filter.  Instead, stream the file
    contents directly to the filter and process its output.
    
    * sp/stream-clean-filter:
      sha1_file: don't convert off_t to size_t too early to avoid potential die()
      convert: stream from fd to required clean filter to reduce used address space
      copy_fd(): do not close the input file descriptor
      mmap_limit: introduce GIT_MMAP_LIMIT to allow testing expected mmap size
      memory_limit: use git_env_ulong() to parse GIT_ALLOC_LIMIT
      config.c: add git_env_ulong() to parse environment variable
      convert: drop arguments other than 'path' from would_convert_to_git()
    gitster committed Sep 30, 2014
    Configuration menu
    Copy the full SHA
    47fc36d View commit details
    Browse the repository at this point in the history
  2. Sync with master

    * master:
      Git 2.1.2
    gitster committed Sep 30, 2014
    Configuration menu
    Copy the full SHA
    b253abb View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2014

  1. Merge branch 'da/include-compat-util-first-in-c' into next

    Code clean-up.
    
    * da/include-compat-util-first-in-c:
      cleanups: ensure that git-compat-util.h is included first
    gitster committed Oct 7, 2014
    Configuration menu
    Copy the full SHA
    ea5bcb4 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'so/rebase-doc-fork-point' into next

    * so/rebase-doc-fork-point:
      Documentation/git-rebase.txt: document when --fork-point is auto-enabled
    gitster committed Oct 7, 2014
    Configuration menu
    Copy the full SHA
    03d8ed6 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'dt/cache-tree-repair' into next

    This fixes a topic that has graduated to 'master'.
    
    * dt/cache-tree-repair:
      t0090: avoid passing empty string to printf %d
    gitster committed Oct 7, 2014
    Configuration menu
    Copy the full SHA
    923bd93 View commit details
    Browse the repository at this point in the history
  4. Merge branch 'rs/daemon-fixes' into next

    "git daemon" (with NO_IPV6 build configuration) used to incorrectly
    use the hostname even when gethostbyname() reported that the given
    hostname is not found.
    
    * rs/daemon-fixes:
      daemon: remove write-only variable maxfd
      daemon: fix error message after bind()
      daemon: handle gethostbyname() error
    gitster committed Oct 7, 2014
    Configuration menu
    Copy the full SHA
    4171e10 View commit details
    Browse the repository at this point in the history
  5. Merge branch 'da/completion-show-signature' into next

    * da/completion-show-signature:
      completion: add --show-signature for log and show
    gitster committed Oct 7, 2014
    Configuration menu
    Copy the full SHA
    2467c19 View commit details
    Browse the repository at this point in the history
  6. Sync with master

    * master:
      git-tag.txt: Add a missing hyphen to `-s`
    gitster committed Oct 7, 2014
    Configuration menu
    Copy the full SHA
    4587c01 View commit details
    Browse the repository at this point in the history

Commits on Oct 8, 2014

  1. Merge branch 'rs/sha1-array-test' into next

    * rs/sha1-array-test:
      sha1-lookup: handle duplicates in sha1_pos()
      sha1-array: add test-sha1-array and basic tests
    gitster committed Oct 8, 2014
    Configuration menu
    Copy the full SHA
    5960711 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'rs/mailsplit' into next

    * rs/mailsplit:
      mailsplit: remove unnecessary unlink(2) call
    gitster committed Oct 8, 2014
    Configuration menu
    Copy the full SHA
    58b053e View commit details
    Browse the repository at this point in the history
  3. Merge branch 'rs/more-uses-of-skip-prefix' into next

    * rs/more-uses-of-skip-prefix:
      use skip_prefix() to avoid more magic numbers
    gitster committed Oct 8, 2014
    Configuration menu
    Copy the full SHA
    cd153c0 View commit details
    Browse the repository at this point in the history
  4. Merge branch 'rs/plug-leak-in-bundle' into next

    * rs/plug-leak-in-bundle:
      bundle: plug minor memory leak in is_tag_in_date_range()
    gitster committed Oct 8, 2014
    Configuration menu
    Copy the full SHA
    5539cd7 View commit details
    Browse the repository at this point in the history
  5. Merge branch 'mh/lockfile' into next

    The lockfile API and its users have been cleaned up.
    
    * mh/lockfile: (38 commits)
      lockfile.h: extract new header file for the functions in lockfile.c
      hold_locked_index(): move from lockfile.c to read-cache.c
      hold_lock_file_for_append(): restore errno before returning
      get_locked_file_path(): new function
      lockfile.c: rename static functions
      lockfile: rename LOCK_NODEREF to LOCK_NO_DEREF
      commit_lock_file_to(): refactor a helper out of commit_lock_file()
      trim_last_path_component(): replace last_path_elm()
      resolve_symlink(): take a strbuf parameter
      resolve_symlink(): use a strbuf for internal scratch space
      lockfile: change lock_file::filename into a strbuf
      commit_lock_file(): use a strbuf to manage temporary space
      try_merge_strategy(): use a statically-allocated lock_file object
      try_merge_strategy(): remove redundant lock_file allocation
      struct lock_file: declare some fields volatile
      lockfile: avoid transitory invalid states
      git_config_set_multivar_in_file(): avoid call to rollback_lock_file()
      dump_marks(): remove a redundant call to rollback_lock_file()
      api-lockfile: document edge cases
      commit_lock_file(): rollback lock file on failure to rename
      ...
    gitster committed Oct 8, 2014
    Configuration menu
    Copy the full SHA
    39cb6da View commit details
    Browse the repository at this point in the history
  6. Merge branch 'mh/lockfile-stdio' into next

    * mh/lockfile-stdio:
      commit_packed_refs(): reimplement using fdopen_lock_file()
      dump_marks(): reimplement using fdopen_lock_file()
      fdopen_lock_file(): access a lockfile using stdio
    gitster committed Oct 8, 2014
    Configuration menu
    Copy the full SHA
    e56cebc View commit details
    Browse the repository at this point in the history
  7. Merge branch 'sk/tag-contains-wo-recursion' into next

    A small test tweak.
    
    * sk/tag-contains-wo-recursion:
      t7004: give the test a bit more stack space
    gitster committed Oct 8, 2014
    Configuration menu
    Copy the full SHA
    e425f54 View commit details
    Browse the repository at this point in the history
  8. Sync with master

    * master:
      Update draft release notes to 2.2
    gitster committed Oct 8, 2014
    Configuration menu
    Copy the full SHA
    2852361 View commit details
    Browse the repository at this point in the history

Commits on Oct 13, 2014

  1. Merge branch 'bc/asciidoc-pretty-formats-fix' into next

    * bc/asciidoc-pretty-formats-fix:
      Documentation: fix misrender of pretty-formats in Asciidoctor
    gitster committed Oct 13, 2014
    Configuration menu
    Copy the full SHA
    8208335 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'po/everyday-doc' into next

    "git help everyday" to show the Everyday Git document.
    
    * po/everyday-doc:
      doc: add 'everyday' to 'git help'
      doc: Makefile regularise OBSOLETE_HTML list building
      doc: modernise everyday.txt wording and format in man page style
    gitster committed Oct 13, 2014
    Configuration menu
    Copy the full SHA
    daf1d03 View commit details
    Browse the repository at this point in the history

Commits on Oct 14, 2014

  1. Merge branch 'bw/trace-no-inline-getnanotime' into next

    No file-scope static variables in an inlined function, please.
    
    * bw/trace-no-inline-getnanotime:
      trace.c: do not mark getnanotime() as "inline"
    gitster committed Oct 14, 2014
    Configuration menu
    Copy the full SHA
    19facbb View commit details
    Browse the repository at this point in the history
  2. Merge branch 'jc/completion-no-chdir' into next

    * jc/completion-no-chdir:
      completion: use "git -C $there" instead of (cd $there && git ...)
    gitster committed Oct 14, 2014
    Configuration menu
    Copy the full SHA
    1cf12e1 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'jk/test-shell-trace' into next

    Test scripts were taught to notice "-x" option to show shell trace,
    as if the tests were run under "sh -x".
    
    * jk/test-shell-trace:
      test-lib.sh: support -x option for shell-tracing
      t5304: use helper to report failure of "test foo = bar"
      t5304: use test_path_is_* instead of "test -f"
    gitster committed Oct 14, 2014
    Configuration menu
    Copy the full SHA
    9118506 View commit details
    Browse the repository at this point in the history
  4. Merge branch 'ta/config-set' into next

    * ta/config-set:
      t1308: fix broken here document in test script
    gitster committed Oct 14, 2014
    Configuration menu
    Copy the full SHA
    ed660e4 View commit details
    Browse the repository at this point in the history
  5. Merge branch 'bc/asciidoc' into next

    Formatting nitpicks to help a (pickier) reimplementation of
    AsciiDoc to grok our documentation.
    
    * bc/asciidoc:
      Documentation: fix mismatched delimiters in git-imap-send
      Documentation: adjust document title underlining
    gitster committed Oct 14, 2014
    Configuration menu
    Copy the full SHA
    d9ff206 View commit details
    Browse the repository at this point in the history
  6. Merge branch 'rs/receive-pack-argv-leak-fix' into next

    * rs/receive-pack-argv-leak-fix:
      receive-pack: plug minor memory leak in unpack()
    gitster committed Oct 14, 2014
    Configuration menu
    Copy the full SHA
    e64654d View commit details
    Browse the repository at this point in the history
  7. Merge branch 'jn/parse-config-slot' into next

    Code cleanup.
    
    * jn/parse-config-slot:
      color_parse: do not mention variable name in error message
      pass config slots as pointers instead of offsets
    gitster committed Oct 14, 2014
    Configuration menu
    Copy the full SHA
    7f0a3ad View commit details
    Browse the repository at this point in the history
  8. Sync with master

    * master:
      Update draft release notes to 2.2
    gitster committed Oct 14, 2014
    Configuration menu
    Copy the full SHA
    1f81b46 View commit details
    Browse the repository at this point in the history

Commits on Oct 16, 2014

  1. Sync with master

    * master:
    gitster committed Oct 16, 2014
    Configuration menu
    Copy the full SHA
    26a8a7d View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2014

  1. Merge branch 'cc/interpret-trailers' into next

    A new filter to programatically edit the tail end of the commit log
    messages.
    
    * cc/interpret-trailers:
      Documentation: add documentation for 'git interpret-trailers'
      trailer: add tests for commands in config file
      trailer: execute command from 'trailer.<name>.command'
      trailer: add tests for "git interpret-trailers"
      trailer: add interpret-trailers command
      trailer: put all the processing together and print
      trailer: parse trailers from file or stdin
      trailer: process command line trailer arguments
      trailer: read and process config information
      trailer: process trailers from input message and arguments
      trailer: add data structures and basic functions
    gitster committed Oct 17, 2014
    Configuration menu
    Copy the full SHA
    ee4519c View commit details
    Browse the repository at this point in the history
  2. Merge branch 'bc/asciidoctor' into next

    Add machinery to alternatively use AsciiDoctor to format our
    documentation.
    
    * bc/asciidoctor:
      Documentation: implement linkgit macro for Asciidoctor
      Documentation: move some AsciiDoc parameters into variables
    gitster committed Oct 17, 2014
    Configuration menu
    Copy the full SHA
    12ce2e2 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'ss/contrib-subtree-contacts' into next

    * ss/contrib-subtree-contacts:
      contacts: add a Makefile to generate docs and install
      subtree: add an install-html target
    gitster committed Oct 17, 2014
    Configuration menu
    Copy the full SHA
    4b3a1d9 View commit details
    Browse the repository at this point in the history
  4. Merge branch 'rm/gitweb-start-form' into next

    * rm/gitweb-start-form:
      gitweb: use start_form, not startform that was removed in CGI.pm 4.04
    gitster committed Oct 17, 2014
    Configuration menu
    Copy the full SHA
    7ca427f View commit details
    Browse the repository at this point in the history
  5. Merge branch 'rs/ref-transaction' into next

    The API to update refs have been restructured to allow introducing
    a true transactional updates later.  We would even allow storing
    refs in backends other than the traditional filesystem-based one.
    
    * rs/ref-transaction: (25 commits)
      ref_transaction_commit: bail out on failure to remove a ref
      lockfile: remove unable_to_lock_error
      refs.c: do not permit err == NULL
      remote rm/prune: print a message when writing packed-refs fails
      for-each-ref: skip and warn about broken ref names
      refs.c: allow listing and deleting badly named refs
      test: put tests for handling of bad ref names in one place
      packed-ref cache: forbid dot-components in refnames
      branch -d: simplify by using RESOLVE_REF_READING
      branch -d: avoid repeated symref resolution
      reflog test: test interaction with detached HEAD
      refs.c: change resolve_ref_unsafe reading argument to be a flags field
      refs.c: make write_ref_sha1 static
      fetch.c: change s_update_ref to use a ref transaction
      refs.c: ref_transaction_commit: distinguish name conflicts from other errors
      refs.c: pass a list of names to skip to is_refname_available
      refs.c: call lock_ref_sha1_basic directly from commit
      refs.c: refuse to lock badly named refs in lock_ref_sha1_basic
      rename_ref: don't ask read_ref_full where the ref came from
      refs.c: pass the ref log message to _create/delete/update instead of _commit
      ...
    gitster committed Oct 17, 2014
    Configuration menu
    Copy the full SHA
    1390624 View commit details
    Browse the repository at this point in the history
  6. Merge branch 'da/mergetool-tests' into next

    The clean-up of this test script was long overdue and is a very
    welcome change.
    
    * da/mergetool-tests:
      test-lib-functions: adjust style to match CodingGuidelines
      t7610-mergetool: use test_config to isolate tests
      t7610-mergetool: add missing && and remove commented-out code
      t7610-mergetool: use tabs instead of a mix of tabs and spaces
    gitster committed Oct 17, 2014
    Configuration menu
    Copy the full SHA
    239fefe View commit details
    Browse the repository at this point in the history
  7. Merge branch 'da/mergetool-temporary-filename' into next

    Tweak the names of the three throw-away files "git mergetool" comes
    up with to feed the merge tool backend, so that a file with a
    single dot in its name in the original (e.g. "hello.c") will have
    only one dot in these variants (e.g. "hello_BASE_4321.c").
    
    * da/mergetool-temporary-filename:
      mergetool: use more conservative temporary filenames
    gitster committed Oct 17, 2014
    Configuration menu
    Copy the full SHA
    3fb95b5 View commit details
    Browse the repository at this point in the history
  8. Merge branch 'da/mergetool-tool-help' into next

    Allow "git mergetool --help" to run outside a Git repository.
    
    * da/mergetool-tool-help:
      difftool: don't assume that default sh is sane
      mergetool: don't require a work tree for --tool-help
      git-sh-setup: move GIT_DIR initialization into a function
      mergetool: use more conservative temporary filenames
      test-lib-functions: adjust style to match CodingGuidelines
      t7610-mergetool: prefer test_config over git config
    gitster committed Oct 17, 2014
    Configuration menu
    Copy the full SHA
    854654c View commit details
    Browse the repository at this point in the history
  9. Merge branch 'da/mergetool-temporary-directory' into next

    Allow a temporary directory specified to be used while running "git
    mergetool" backend.
    
    * da/mergetool-temporary-directory:
      t7610-mergetool: add test cases for mergetool.writeToTemp
      mergetool: add an option for writing to a temporary directory
    gitster committed Oct 17, 2014
    Configuration menu
    Copy the full SHA
    261e74e View commit details
    Browse the repository at this point in the history
  10. Merge branch 'da/mergetool-meld' into next

    Newer versions of 'meld' breaks the auto-detection we use to see if
    they are new enough to support the `--output` option.
    
    * da/mergetool-meld:
      mergetools/meld: make usage of `--output` configurable and more robust
    gitster committed Oct 17, 2014
    Configuration menu
    Copy the full SHA
    00ee553 View commit details
    Browse the repository at this point in the history
  11. Merge branch 'js/completion-hide-not-a-repo' into next

    Some internal error messages leaked out of the bash completion when
    typing "git cmd <TAB>" and the machinery tried to complete
    refnames.
    
    * js/completion-hide-not-a-repo:
      completion: silence "fatal: Not a git repository" error
    gitster committed Oct 17, 2014
    Configuration menu
    Copy the full SHA
    466de3c View commit details
    Browse the repository at this point in the history

Commits on Oct 20, 2014

  1. Merge branch 'jk/prune-mtime' into next

    Tighten the logic to decide that an unreachable cruft is
    sufficiently old by covering corner cases such as an ancient object
    becoming reachable and then going unreachable again, in which case
    its retention period should be prolonged.
    
    * jk/prune-mtime: (28 commits)
      drop add_object_array_with_mode
      revision: remove definition of unused 'add_object' function
      pack-objects: double-check options before discarding objects
      repack: pack objects mentioned by the index
      pack-objects: use argv_array
      reachable: use revision machinery's --indexed-objects code
      rev-list: add --indexed-objects option
      rev-list: document --reflog option
      t5516: test pushing a tag of an otherwise unreferenced blob
      traverse_commit_list: support pending blobs/trees with paths
      make add_object_array_with_context interface more sane
      write_sha1_file: freshen existing objects
      pack-objects: match prune logic for discarding objects
      pack-objects: refactor unpack-unreachable expiration check
      prune: keep objects reachable from recent objects
      sha1_file: add for_each iterators for loose and packed objects
      count-objects: use for_each_loose_file_in_objdir
      count-objects: do not use xsize_t when counting object size
      prune-packed: use for_each_loose_file_in_objdir
      reachable: mark index blobs as SEEN
      ...
    gitster committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    fdd7ff6 View commit details
    Browse the repository at this point in the history
  2. Sync with master

    * master:
      Update draft release notes to 2.2
      Revert "archive: honor tar.umask even for pax headers"
    gitster committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    72aedf1 View commit details
    Browse the repository at this point in the history

Commits on Oct 21, 2014

  1. Merge branch 'jk/pack-objects-no-bitmap-when-splitting' into next

    Splitting pack-objects output into multiple packs is incompatible
    with the use of reachability bitmap.
    
    * jk/pack-objects-no-bitmap-when-splitting:
      pack-objects: turn off bitmaps when we split packs
    gitster committed Oct 21, 2014
    Configuration menu
    Copy the full SHA
    c3c8c2a View commit details
    Browse the repository at this point in the history
  2. Merge branch 'rs/run-command-env-array' into next

    Add managed "env" array to child_process to clarify the lifetime
    rules.
    
    * rs/run-command-env-array:
      use env_array member of struct child_process
      run-command: add env_array, an optional argv_array for env
    gitster committed Oct 21, 2014
    Configuration menu
    Copy the full SHA
    4e56fa2 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'eb/no-pthreads' into next

    Allow us build with NO_PTHREADS=NoThanks compilation option.  The
    last change (not queued) needs a bit more explanation in its log
    message.
    
    * eb/no-pthreads:
      Handle atexit list internaly for unthreaded builds
      pack-objects: set number of threads before checking and warning
      index-pack: fix compilation with NO_PTHREADS
    gitster committed Oct 21, 2014
    Configuration menu
    Copy the full SHA
    c455d39 View commit details
    Browse the repository at this point in the history
  4. Merge branch 'wk/t1304-wo-USER' into next

    * wk/t1304-wo-USER:
      t1304: Set LOGNAME even if USER is unset or null
    gitster committed Oct 21, 2014
    Configuration menu
    Copy the full SHA
    00fe6d9 View commit details
    Browse the repository at this point in the history
  5. Merge branch 'po/doc-status-markup' into next

    Update documentation mark-up.
    
    * po/doc-status-markup:
      doc: fix 'git status --help' character quoting
    gitster committed Oct 21, 2014
    Configuration menu
    Copy the full SHA
    efca89c View commit details
    Browse the repository at this point in the history
  6. Merge branch 'tb/core-filemode-doc' into next

    Doc update.
    
    * tb/core-filemode-doc:
      core.filemode may need manual action
    gitster committed Oct 21, 2014
    Configuration menu
    Copy the full SHA
    ad3e63b View commit details
    Browse the repository at this point in the history
  7. Merge branch 'sb/plug-transport-leak' into next

    Code clean-up.
    
    * sb/plug-transport-leak:
      .mailmap: add Stefan Bellers corporate mail address
      transport: free leaking head in transport_print_push_status()
    gitster committed Oct 21, 2014
    Configuration menu
    Copy the full SHA
    0a462d7 View commit details
    Browse the repository at this point in the history
  8. Merge branch 'nd/dir-prep-exclude-cleanup' into next

    Code clean-up.
    
    * nd/dir-prep-exclude-cleanup:
      dir.c: remove the second declaration of "stk" in prep_exclude()
    gitster committed Oct 21, 2014
    Configuration menu
    Copy the full SHA
    c90ba7a View commit details
    Browse the repository at this point in the history
  9. Merge branch 'jc/clone-borrow' into next

    Allow "git clone --reference" to be used more safely.
    
    * jc/clone-borrow:
      clone: --dissociate option to mark that reference is only temporary
    gitster committed Oct 21, 2014
    Configuration menu
    Copy the full SHA
    b76ea34 View commit details
    Browse the repository at this point in the history
  10. Merge branch 'jc/checkout-local-track-report' into next

    The report from "git checkout" on a branch that builds on another
    local branch by setting its branch.*.merge to branch name (not a
    full refname) incorrectly said that the upstream is gone.
    
    * jc/checkout-local-track-report:
      checkout: report upstream correctly even with loosely defined branch.*.merge
    gitster committed Oct 21, 2014
    Configuration menu
    Copy the full SHA
    f636a00 View commit details
    Browse the repository at this point in the history
  11. Sync with master

    * master:
      Update draft release notes to 2.2
    gitster committed Oct 21, 2014
    Configuration menu
    Copy the full SHA
    ab5de42 View commit details
    Browse the repository at this point in the history

Commits on Oct 22, 2014

  1. grep: fix match highlighting for combined patterns with context lines

    When git grep is run with combined patterns such as '-e p1 --and -e
    p2' and surrounding context lines are requested, the output contains
    incorrectly highlighted matches.
    
    Consider the following output (highlighted matches are surrounded by '*'
    characters):
        $ cat testfile
        foo a
        foo b
        foo bar
        baz bar foo
        bar x
        bar y
        $ git grep -n -C2 -e foo --and -e bar testfile
        testfile-1-*foo* a
        testfile-2-*foo* b
        testfile:3:*foo* *bar*
        testfile:4:baz *bar* *foo*
        testfile-5-*bar* x
        testfile-6-*bar* y
    
    Lines 1, 2, 5 and 6 do not match the combined patterns, they only
    contain incorrectly highlighted 'false positives'.
    
    Modify the show_line() function in grep.c to highlight matches only on
    lines that match the combined pattern. Do not highlight matches on lines
    that provide only context or contain only the function name of the match.
    
    The output of the same command after the change:
        $ git grep -n -C2 -e foo --and -e bar testfile
        testfile-1-foo a
        testfile-2-foo b
        testfile:3:*foo* *bar*
        testfile:4:baz *bar* *foo*
        testfile-5-bar x
        testfile-6-bar y
    
    Also avoid unnecessary regmatch on lines we do not split by
    moving the code to paint a single line piece-by-piece only
    to apply to the matched line.
    
    Signed-off-by: Zoltan Klinger <zoltan.klinger@gmail.com>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
    zklinger authored and gitster committed Oct 22, 2014
    Configuration menu
    Copy the full SHA
    d5a7410 View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2014

  1. Merge branch 'zk/grep-color-words' into next

    "git grep --color" highlighted matching tokens on non-matching
    context lines and function name headers, which was unwanted.
    
    * zk/grep-color-words:
      grep: fix match highlighting for combined patterns with context lines
    gitster committed Oct 24, 2014
    Configuration menu
    Copy the full SHA
    2d2f8f8 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'oc/mergetools-beyondcompare' into next

    Version 4 of BeyondCompare works just as well as its version 3 with
    mergetool; allow people to say "git mergetool --tool bc" instead of
    forcing them to say "git mergetool --tool bc3".
    
    * oc/mergetools-beyondcompare:
      mergetool: rename bc3 to bc
    gitster committed Oct 24, 2014
    Configuration menu
    Copy the full SHA
    e9278e8 View commit details
    Browse the repository at this point in the history
  3. Sync with master

    * master:
      Update draft release notes to 2.2
      push: heed user.signingkey for signed pushes
    gitster committed Oct 24, 2014
    Configuration menu
    Copy the full SHA
    26228e1 View commit details
    Browse the repository at this point in the history

Commits on Oct 27, 2014

  1. Revert "grep: fix match highlighting for combined patterns with conte…

    …xt lines"
    
    This reverts commit d5a7410.
    
    It turns out that showing partial matches on the lines that are not
    matching ones is a feature, not a bug, modelling after ms/mc
    specifiers in GNU grep's environment variables GREP_COLORS.
    gitster committed Oct 27, 2014
    Configuration menu
    Copy the full SHA
    2e50bf5 View commit details
    Browse the repository at this point in the history

Commits on Oct 28, 2014

  1. Merge branch 'bc/asciidoctor' into next

    Add machinery to alternatively use AsciiDoctor to format our
    documentation.
    
    * bc/asciidoctor:
      Documentation: remove Asciidoctor linkgit macro
      Documentation: refactor common operations into variables
    gitster committed Oct 28, 2014
    Configuration menu
    Copy the full SHA
    a5b6349 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'zk/grep-color-words' into next

    "git grep --color" highlighted matching tokens on non-matching
    context lines and function name headers, which was sometimes
    unwanted.  rs/grep-color-words is a competing proposal that does not
    break existing users, so we will use that instead, and revert this
    series in preparation for that.
    
    * zk/grep-color-words:
      Revert "grep: fix match highlighting for combined patterns with context lines"
    gitster committed Oct 28, 2014
    Configuration menu
    Copy the full SHA
    4d0457c View commit details
    Browse the repository at this point in the history
  3. Merge branch 'rs/grep-color-words' into next

    Allow painting or not painting (partial) matches in context lines
    when showing "grep -C<num>" output in color.
    
    * rs/grep-color-words:
      grep: add color.grep.matchcontext and color.grep.matchselected
    gitster committed Oct 28, 2014
    Configuration menu
    Copy the full SHA
    4e6659d View commit details
    Browse the repository at this point in the history
  4. Merge branch 'mg/lib-gpg-ro-safety' into next

    In a tarball extract whose files are all read-only, running GPG
    tests would have failed due to unwritable files.
    
    * mg/lib-gpg-ro-safety:
      t/lib-gpg: make gpghome files writable
    gitster committed Oct 28, 2014
    Configuration menu
    Copy the full SHA
    f396990 View commit details
    Browse the repository at this point in the history
  5. Merge branch 'jc/diff-b-m' into next

    Fix long-standing bug in "diff -B -M" output.
    
    * jc/diff-b-m:
      diff -B -M: fix output for "copy and then rewrite" case
    gitster committed Oct 28, 2014
    Configuration menu
    Copy the full SHA
    4daedb1 View commit details
    Browse the repository at this point in the history
  6. Merge branch 'dm/port2zos' into next

    z/OS port
    
    * dm/port2zos:
      compat/bswap.h: detect endianness from XL C compiler macros
      Makefile: reorder linker flags in the git executable rule
      git-compat-util.h: support variadic macros with the XL C compiler
    gitster committed Oct 28, 2014
    Configuration menu
    Copy the full SHA
    d03d3ae View commit details
    Browse the repository at this point in the history
  7. Merge branch 'da/difftool' into next

    Allow diff tool backend to stop early by exiting with a non-zero
    status.
    
    * da/difftool:
      difftool: add support for --trust-exit-code
      difftool--helper: exit when reading a prompt answer fails
    gitster committed Oct 28, 2014
    Configuration menu
    Copy the full SHA
    19da3f6 View commit details
    Browse the repository at this point in the history
  8. Merge branch 'rb/pack-window-memory-config-doc' into next

    * rb/pack-window-memory-config-doc:
      config.txt: pack.windowmemory limit applies per-thread
    gitster committed Oct 28, 2014
    Configuration menu
    Copy the full SHA
    fc74359 View commit details
    Browse the repository at this point in the history

Commits on Oct 29, 2014

  1. Merge branch 'jc/strbuf-add-lines-avoid-sp-ht-sequence' into next

    The commented output used to blindly add a SP before the payload
    line, resulting in "# \t<indented text>\n" when the payload began
    with a HT.  Instead, produce "#\t<indented text>\n".
    
    * jc/strbuf-add-lines-avoid-sp-ht-sequence:
      strbuf_add_commented_lines(): avoid SP-HT sequence in commented lines
    gitster committed Oct 29, 2014
    Configuration menu
    Copy the full SHA
    9167582 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'jc/conflict-hint' into next

    Unlike all the other hints given in the commit log editor, the list
    of conflicted paths were appended at the end without commented out.
    
    * jc/conflict-hint:
      merge & sequencer: turn "Conflicts:" hint into a comment
      builtin/commit.c: extract ignore_non_trailer() helper function
      merge & sequencer: unify codepaths that write "Conflicts:" hint
      builtin/merge.c: drop a parameter that is never used
    gitster committed Oct 29, 2014
    Configuration menu
    Copy the full SHA
    693250f View commit details
    Browse the repository at this point in the history
  3. Merge branch 'jc/push-cert' into next

    * jc/push-cert:
      receive-pack: avoid minor leak in case start_async() fails
    gitster committed Oct 29, 2014
    Configuration menu
    Copy the full SHA
    d3ae2e4 View commit details
    Browse the repository at this point in the history
  4. Merge branch 'rs/child-process-init' into next

    * rs/child-process-init:
      api-run-command: add missing list item marker
    gitster committed Oct 29, 2014
    Configuration menu
    Copy the full SHA
    21a76a2 View commit details
    Browse the repository at this point in the history
  5. Sync with master

    * master:
      Git 2.1.3
      Update draft release notes to 2.2
    gitster committed Oct 29, 2014
    Configuration menu
    Copy the full SHA
    836ef29 View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2014

  1. Sync with master

    * master:
      gitk: Remove boilerplate for configuration variables
      gitk: Show detached HEAD if --all is specified
      gitk: Do not depend on Cygwin's "kill" command on Windows
    gitster committed Oct 30, 2014
    Configuration menu
    Copy the full SHA
    63c253d View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2014

  1. Sync with 2.2-rc0

    * master:
      Git 2.2.0-rc0
      git-svn: use SVN::Ra::get_dir2 when possible
      git-svn: add space after "W:" prefix in warning
      git-svn: (cleanup) remove editor param passing
      git-svn: prepare SVN::Ra config pieces once
      Git.pm: add specified name to tempfile template
      git-svn: disable _rev_list memoization
      git-svn: save a little memory as fetch progresses
      git-svn: remove unnecessary DESTROY override
      git-svn: reload RA every log-window-size
      git-svn.txt: advertise pushurl with dcommit
      git-svn: remove mergeinfo rev caching
      git-svn: cache only mergeinfo revisions
      git-svn: reduce check_cherry_pick cache overhead
      git-svn: only look at the root path for svn:mergeinfo
      git-svn: only look at the new parts of svn:mergeinfo
    gitster committed Oct 31, 2014
    Configuration menu
    Copy the full SHA
    35ae3ef View commit details
    Browse the repository at this point in the history

Commits on Nov 3, 2014

  1. Merge branch 'jk/cache-tree-protect-from-broken-libgit2' into next

    * jk/cache-tree-protect-from-broken-libgit2:
      cache-tree: avoid infinite loop on zero-entry tree
    gitster committed Nov 3, 2014
    Configuration menu
    Copy the full SHA
    6ebd88d View commit details
    Browse the repository at this point in the history
  2. Merge branch 'rs/use-child-process-init-more' into next

    * rs/use-child-process-init-more:
      bundle: split out ref writing from bundle_create
      bundle: split out a helper function to compute and write prerequisites
      bundle: split out a helper function to create pack data
      use child_process_init() to initialize struct child_process variables
    gitster committed Nov 3, 2014
    Configuration menu
    Copy the full SHA
    a82d885 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'master' into next

    * master:
      RelNotes/2.2.0.txt: fix minor typos
    gitster committed Nov 3, 2014
    Configuration menu
    Copy the full SHA
    a3a616c View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2014

  1. Merge branch 'master' into next

    * master:
      Documentation: typofixes
    gitster committed Nov 4, 2014
    Configuration menu
    Copy the full SHA
    31b9a22 View commit details
    Browse the repository at this point in the history

Commits on Nov 5, 2014

  1. Merge branch 'jk/fetch-reflog-df-conflict' into next

    Corner-case bugfixes for "git fetch" around reflog handling.
    
    * jk/fetch-reflog-df-conflict:
      ignore stale directories when checking reflog existence
      fetch: load all default config at startup
    gitster committed Nov 5, 2014
    Configuration menu
    Copy the full SHA
    b0476c9 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'js/diff-highlight-avoid-sigpipe' into next

    * js/diff-highlight-avoid-sigpipe:
      diff-highlight: exit when a pipe is broken
    gitster committed Nov 5, 2014
    Configuration menu
    Copy the full SHA
    b0fadd3 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'tm/line-log-first-parent' into next

    "git log --first-parent -L..." used to crash.
    
    * tm/line-log-first-parent:
      line-log: fix crash when --first-parent is used
    gitster committed Nov 5, 2014
    Configuration menu
    Copy the full SHA
    8a6f650 View commit details
    Browse the repository at this point in the history
  4. Merge branch 'nd/gitignore-trailing-whitespace' into next

    * nd/gitignore-trailing-whitespace:
      gitignore.txt: fix spelling of "backslash"
    gitster committed Nov 5, 2014
    Configuration menu
    Copy the full SHA
    e7f43d6 View commit details
    Browse the repository at this point in the history

Commits on Nov 6, 2014

  1. Merge branch 'nd/lockfile-absolute' into next

    The lockfile API can get confused which file to clean up when the
    process moved the $cwd after creating a lockfile.
    
    * nd/lockfile-absolute:
      lockfile.c: store absolute path
    gitster committed Nov 6, 2014
    Configuration menu
    Copy the full SHA
    68722a9 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'jc/merge-bases' into next

    * jc/merge-bases:
      get_merge_bases(): always clean-up object flags
      bisect: clean flags after checking merge bases
    gitster committed Nov 6, 2014
    Configuration menu
    Copy the full SHA
    491e576 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'master' into next

    * master:
      docs/credential-store: s/--store/--file/
    gitster committed Nov 6, 2014
    Configuration menu
    Copy the full SHA
    2db757b View commit details
    Browse the repository at this point in the history

Commits on Nov 7, 2014

  1. Sync with 2.2-rc1

    * master:
      Git 2.2.0-rc1
    gitster committed Nov 7, 2014
    Configuration menu
    Copy the full SHA
    d1b4acf View commit details
    Browse the repository at this point in the history

Commits on Nov 10, 2014

  1. Sync with master

    * master:
      run-command: use void to declare that functions take no parameters
      Documentation/config.txt: fix minor typo
      config.txt: fix typo
      trailer: use CHILD_PROCESS_INIT in apply_command()
      l10n: Updated Bulgarian translation of git (2296t,0f,0u)
      l10n: zh_CN: translations for git v2.2.0-rc0
      l10n: sv.po: Update Swedish translation (2296t0f0u)
      l10n: fr.po (2296t) update for version 2.2.0
      l10n: vi.po: Update new message strings
      l10n: git.pot: v2.2.0 round 1 (62 new, 23 removed)
    gitster committed Nov 10, 2014
    Configuration menu
    Copy the full SHA
    68672bc View commit details
    Browse the repository at this point in the history

Commits on Nov 11, 2014

  1. Merge branch 'jk/fetch-reflog-df-conflict' into next

    Corner-case bugfixes for "git fetch" around reflog handling.
    
    * jk/fetch-reflog-df-conflict:
      t1410: fix breakage on case-insensitive filesystems
    gitster committed Nov 11, 2014
    Configuration menu
    Copy the full SHA
    88c1491 View commit details
    Browse the repository at this point in the history
  2. Sync with master

    * master:
    gitster committed Nov 11, 2014
    Configuration menu
    Copy the full SHA
    02acac1 View commit details
    Browse the repository at this point in the history

Commits on Nov 12, 2014

  1. Merge branch 'br/imap-send-verbosity' into next

    * br/imap-send-verbosity:
      imap-send: use parse options API to determine verbosity
    gitster committed Nov 12, 2014
    Configuration menu
    Copy the full SHA
    d9e58ec View commit details
    Browse the repository at this point in the history
  2. Merge branch 'br/imap-send-via-libcurl' into next

    * br/imap-send-via-libcurl:
      git-imap-send: use libcurl for implementation
    gitster committed Nov 12, 2014
    Configuration menu
    Copy the full SHA
    5327ab4 View commit details
    Browse the repository at this point in the history
  3. Sync with master

    * master:
      Update draft release notes to 2.2
    gitster committed Nov 12, 2014
    Configuration menu
    Copy the full SHA
    9da3436 View commit details
    Browse the repository at this point in the history

Commits on Dec 8, 2014

  1. index-pack: terminate object buffers with NUL

    We have some tricky checks in fsck that rely on a side effect of
    require_end_of_header(), and would otherwise easily run outside
    non-NUL-terminated buffers. This is a bit brittle, so let's make sure
    that only NUL-terminated buffers are passed around to begin with.
    
    Jeff "Peff" King contributed the detailed analysis which call paths are
    involved and pointed out that we also have to patch the get_data()
    function in unpack-objects.c, which is what Johannes "Dscho" Schindelin
    implemented.
    
    Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
    Analyzed-by: Jeff King <peff@peff.net>
    Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
    pclouds authored and dscho committed Dec 8, 2014
    Configuration menu
    Copy the full SHA
    ee901be View commit details
    Browse the repository at this point in the history
  2. fsck: verify that we get only NUL-terminated buffers

    Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
    dscho committed Dec 8, 2014
    Configuration menu
    Copy the full SHA
    567ad59 View commit details
    Browse the repository at this point in the history