1. 26 3月, 2015 10 次提交
    • J
      Merge branch 'jk/prune-with-corrupt-refs' · 05e816e3
      Junio C Hamano 提交于
      "git prune" used to largely ignore broken refs when deciding which
      objects are still being used, which could spread an existing small
      damage and make it a larger one.
      
      * jk/prune-with-corrupt-refs:
        refs.c: drop curate_packed_refs
        repack: turn on "ref paranoia" when doing a destructive repack
        prune: turn on ref_paranoia flag
        refs: introduce a "ref paranoia" flag
        t5312: test object deletion code paths in a corrupted repository
      05e816e3
    • J
      Merge branch 'tg/fix-check-order-with-split-index' · a801bb8c
      Junio C Hamano 提交于
      The split-index mode introduced at v2.3.0-rc0~41 was broken in the
      codepath to protect us against a broken reimplementation of Git
      that writes an invalid index with duplicated index entries, etc.
      
      * tg/fix-check-order-with-split-index:
        read-cache: fix reading of split index
      a801bb8c
    • J
      Merge branch 'jk/fetch-pack' · 2f6ef713
      Junio C Hamano 提交于
      "git fetch" that fetches a commit using the allow-tip-sha1-in-want
      extension could have failed to fetch all the requested refs.
      
      * jk/fetch-pack:
        fetch-pack: remove dead assignment to ref->new_sha1
        fetch_refs_via_pack: free extra copy of refs
        filter_ref: make a copy of extra "sought" entries
        filter_ref: avoid overwriting ref->old_sha1 with garbage
      2f6ef713
    • J
      Merge branch 'jk/cleanup-failed-clone' · 927936d7
      Junio C Hamano 提交于
      An failure early in the "git clone" that started creating the
      working tree and repository could have resulted in some directories
      and files left without getting cleaned up.
      
      * jk/cleanup-failed-clone:
        clone: drop period from end of die_errno message
        clone: initialize atexit cleanup handler earlier
      927936d7
    • J
      Merge branch 'jc/submitting-patches-mention-send-email' · cf07d3fe
      Junio C Hamano 提交于
      Recommend format-patch and send-email for those who want to submit
      patches to this project.
      
      * jc/submitting-patches-mention-send-email:
        SubmittingPatches: encourage users to use format-patch and send-email
      cf07d3fe
    • J
      Merge branch 'dj/log-graph-with-no-walk' · dbd04eba
      Junio C Hamano 提交于
      "git log --graph --no-walk A B..." is a otcnflicting request that
      asks nonsense; no-walk tells us show discrete points in the
      history, while graph asks to draw connections between these
      discrete points. Forbid the combination.
      
      * dj/log-graph-with-no-walk:
        revision: forbid combining --graph and --no-walk
      dbd04eba
    • J
      Merge branch 'kd/rev-list-bisect-first-parent' · 257b204f
      Junio C Hamano 提交于
      "git rev-list --bisect --first-parent" does not work (yet) and can
      even cause SEGV; forbid it.  "git log --bisect --first-parent"
      would not be useful until "git bisect --first-parent" materializes,
      so it is also forbidden for now.
      
      * kd/rev-list-bisect-first-parent:
        rev-list: refuse --first-parent combined with --bisect
      257b204f
    • J
      Merge branch 'ws/grep-quiet-no-pager' · 01c057df
      Junio C Hamano 提交于
      Even though "git grep --quiet" is run merely to ask for the exit
      status, we spawned the pager regardless.  Stop doing that.
      
      * ws/grep-quiet-no-pager:
        grep: fix "--quiet" overwriting current output
      01c057df
    • J
      Merge branch 'jk/simplify-csum-file-sha1fd-check' · 09e32fa0
      Junio C Hamano 提交于
      Code simplification.
      
      * jk/simplify-csum-file-sha1fd-check:
        sha1fd_check: die when we cannot open the file
      09e32fa0
    • J
      Merge branch 'ct/prompt-untracked-fix' · 5f15cba2
      Junio C Hamano 提交于
      The prompt script (in contrib/) did not show the untracked sign
      when working in a subdirectory without any untracked files.
      
      * ct/prompt-untracked-fix:
        git prompt: use toplevel to find untracked files
      5f15cba2
  2. 25 3月, 2015 1 次提交
    • J
      Merge branch 'master' of git://ozlabs.org/~paulus/gitk · 92e625d3
      Junio C Hamano 提交于
      * 'master' of git://ozlabs.org/~paulus/gitk:
        gitk: Update .po files
        gitk: l10n: Add Catalan translation
        gitk: Fix typo in Russian translation
        gitk: Remove tcl-format flag from a message that shouldn't have it
        gitk: Pass --invert-grep option down to "git log"
        gitk: Synchronize config file writes
        gitk: Report errors in saving config file
        gitk: Only write changed configuration variables
        gitk: Enable mouse horizontal scrolling in diff pane
        gitk: Default wrcomcmd to use --pretty=email
      92e625d3
  3. 24 3月, 2015 20 次提交
    • J
      Sync with v2.3.4 · f53fc38c
      Junio C Hamano 提交于
      f53fc38c
    • J
      Post 2.3 cycle (batch #12) · 9b22801c
      Junio C Hamano 提交于
      Hopefully with another batch or two, we would be ready for -rc0
      to close this cycle.
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      9b22801c
    • J
      Merge branch 'js/completion-ctags-pattern-substitution-fix' · c267a4d0
      Junio C Hamano 提交于
      The code that reads from the ctags file in the completion script
      (in contrib/) did not spell ${param/pattern/string} substitution
      correctly, which happened to work with bash but not with zsh.
      
      * js/completion-ctags-pattern-substitution-fix:
        contrib/completion: escape the forward slash in __git_match_ctag
      c267a4d0
    • J
      Merge branch 'jk/push-config' · 61ca3782
      Junio C Hamano 提交于
      Restructure "git push" codepath to make it easier to add new
      configuration bits and then add push.followTags configuration that
      turns --follow-tags option on by default.
      
      * jk/push-config:
        push: allow --follow-tags to be set by config push.followTags
        cmd_push: pass "flags" pointer to config callback
        cmd_push: set "atomic" bit directly
        git_push_config: drop cargo-culted wt_status pointer
      61ca3782
    • J
      Merge branch 'nd/config-doc-camelCase' · aa65b860
      Junio C Hamano 提交于
      Documentation updates.
      
      * nd/config-doc-camelCase:
        *config.txt: stick to camelCase naming convention
      aa65b860
    • J
      Merge branch 'jk/test-annoyances' · 07da4e09
      Junio C Hamano 提交于
      Test fixes.
      
      * jk/test-annoyances:
        t5551: make EXPENSIVE test cheaper
        t5541: move run_with_cmdline_limit to test-lib.sh
        t: pass GIT_TRACE through Apache
        t: redirect stderr GIT_TRACE to descriptor 4
        t: translate SIGINT to an exit
      07da4e09
    • J
      Merge branch 'jk/smart-http-hide-refs' · c12eca7e
      Junio C Hamano 提交于
      The transfer.hiderefs support did not quite work for smart-http
      transport.
      
      * jk/smart-http-hide-refs:
        upload-pack: do not check NULL return of lookup_unknown_object
        upload-pack: fix transfer.hiderefs over smart-http
      c12eca7e
    • J
      Merge branch 'jk/tag-h-column-is-a-listing-option' · a633651d
      Junio C Hamano 提交于
      "git tag -h" used to show the "--column" and "--sort" options
      that are about listing in a wrong section.
      
      * jk/tag-h-column-is-a-listing-option:
        tag: fix some mis-organized options in "-h" listing
      a633651d
    • J
      Git 2.3.4 · 3a52578e
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      3a52578e
    • J
      Merge branch 'rs/use-isxdigit' into maint · 437ed4ce
      Junio C Hamano 提交于
      Code cleanup.
      
      * rs/use-isxdigit:
        use isxdigit() for checking if a character is a hexadecimal digit
      437ed4ce
    • J
      Merge branch 'rs/deflate-init-cleanup' into maint · a393c6bf
      Junio C Hamano 提交于
      Code simplification.
      
      * rs/deflate-init-cleanup:
        zlib: initialize git_zstream in git_deflate_init{,_gzip,_raw}
      a393c6bf
    • J
      Merge branch 'ak/git-done-help-cleanup' into maint · a4f287e5
      Junio C Hamano 提交于
      Code simplification.
      
      * ak/git-done-help-cleanup:
        git: make was_alias and done_help non-static
      a4f287e5
    • J
      Merge branch 'sg/completion-remote' into maint · 7d6f6e37
      Junio C Hamano 提交于
      Code simplification.
      
      * sg/completion-remote:
        completion: simplify __git_remotes()
        completion: add a test for __git_remotes() helper function
      7d6f6e37
    • J
      Merge branch 'mg/doc-status-color-slot' into maint · ffac6258
      Junio C Hamano 提交于
      Documentation fixes.
      
      * mg/doc-status-color-slot:
        config,completion: add color.status.unmerged
      ffac6258
    • J
      Merge branch 'jc/decorate-leaky-separator-color' into maint · 3f6f5c9d
      Junio C Hamano 提交于
      "git log --decorate" did not reset colors correctly around the
      branch names.
      
      * jc/decorate-leaky-separator-color:
        log --decorate: do not leak "commit" color into the next item
        Documentation/config.txt: simplify boolean description in the syntax section
        Documentation/config.txt: describe 'color' value type in the "Values" section
        Documentation/config.txt: have a separate "Values" section
        Documentation/config.txt: describe the structure first and then meaning
        Documentation/config.txt: explain multi-valued variables once
        Documentation/config.txt: avoid unnecessary negation
      3f6f5c9d
    • J
      Merge branch 'kn/git-cd-to-empty' into maint · c9741846
      Junio C Hamano 提交于
      "git -C '' subcmd" refused to work in the current directory, unlike
      "cd ''" which silently behaves as a no-op.
      
      * kn/git-cd-to-empty:
        git: treat "git -C '<path>'" as a no-op when <path> is empty
      c9741846
    • J
      Merge branch 'km/imap-send-libcurl-options' into maint · 84a37fae
      Junio C Hamano 提交于
      "git imap-send" learned to optionally talk with an IMAP server via
      libcURL; because there is no other option when Git is built with
      NO_OPENSSL option, use that codepath by default under such
      configuration.
      
      * km/imap-send-libcurl-options:
        imap-send: use cURL automatically when NO_OPENSSL defined
      84a37fae
    • J
      Merge branch 'mg/verify-commit' into maint · 82b6e331
      Junio C Hamano 提交于
      Workarounds for certain build of GPG that triggered false breakage
      in a test.
      
      * mg/verify-commit:
        t7510: do not fail when gpg warns about insecure memory
      82b6e331
    • J
      Merge branch 'es/rebase-i-count-todo' into maint · f63ed085
      Junio C Hamano 提交于
      "git rebase -i" recently started to include the number of
      commits in the insn sheet to be processed, but on a platform
      that prepends leading whitespaces to "wc -l" output, the numbers
      are shown with extra whitespaces that aren't necessary.
      
      * es/rebase-i-count-todo:
        rebase-interactive: re-word "item count" comment
        rebase-interactive: suppress whitespace preceding item count
      f63ed085
    • J
      Merge branch 'tb/connect-ipv6-parse-fix' into maint · 8c2ea512
      Junio C Hamano 提交于
      We did not parse username followed by literal IPv6 address in SSH
      transport URLs, e.g. ssh://user@[2001:db8::1]:22/repo.git
      correctly.
      
      * tb/connect-ipv6-parse-fix:
        t5500: show user name and host in diag-url
        t5601: add more test cases for IPV6
        connect.c: allow ssh://user@[2001:db8::1]/repo.git
      8c2ea512
  4. 21 3月, 2015 9 次提交
    • T
      read-cache: fix reading of split index · 03f15a79
      Thomas Gummerer 提交于
      The split index extension uses ewah bitmaps to mark index entries as
      deleted, instead of removing them from the index directly.  This can
      result in an on-disk index, in which entries of stage #0 and higher
      stages appear, which are removed later when the index bases are merged.
      
      15999d0b read_index_from(): catch out of order entries when reading an
      index file introduces a check which checks if the entries are in order
      after each index entry is read in do_read_index.  This check may however
      fail when a split index is read.
      
      Fix this by moving checking the index after we know there is no split
      index or after the split index bases are successfully merged instead.
      Signed-off-by: NThomas Gummerer <t.gummerer@gmail.com>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      03f15a79
    • J
      Post 2.3 cycle (batch #11) · e80e85a5
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      e80e85a5
    • J
      Merge branch 'mg/log-decorate-HEAD' · 46d403f1
      Junio C Hamano 提交于
      Output from "git log --decorate" mentions HEAD when it points at a
      tip of an branch differently from a detached HEAD.
      
      This is a potentially backward-incompatible change.
      
      * mg/log-decorate-HEAD:
        log: decorate HEAD with branch name
      46d403f1
    • J
      Merge branch 'jc/decorate-leaky-separator-color' · 5f456b3c
      Junio C Hamano 提交于
      "git log --decorate" did not reset colors correctly around the
      branch names.
      
      * jc/decorate-leaky-separator-color:
        log --decorate: do not leak "commit" color into the next item
        Documentation/config.txt: simplify boolean description in the syntax section
        Documentation/config.txt: describe 'color' value type in the "Values" section
        Documentation/config.txt: have a separate "Values" section
        Documentation/config.txt: describe the structure first and then meaning
        Documentation/config.txt: explain multi-valued variables once
        Documentation/config.txt: avoid unnecessary negation
      5f456b3c
    • J
      Merge branch 'sb/leaks' · cfe96b38
      Junio C Hamano 提交于
      Code cleanup.
      
      * sb/leaks:
        builtin/help.c: fix memory leak
        bundle.c: fix memory leak
        connect.c: do not leak "conn" after showing diagnosis
      cfe96b38
    • J
      Merge branch 'rs/use-isxdigit' · daea6fca
      Junio C Hamano 提交于
      Code cleanup.
      
      * rs/use-isxdigit:
        use isxdigit() for checking if a character is a hexadecimal digit
      daea6fca
    • J
      Merge branch 'mg/verify-commit' · 4c24385e
      Junio C Hamano 提交于
      Workarounds for certain build of GPG that triggered false breakage
      in a test.
      
      * mg/verify-commit:
        t7510: do not fail when gpg warns about insecure memory
      4c24385e
    • J
      Merge branch 'km/imap-send-libcurl-options' · 0a819772
      Junio C Hamano 提交于
      "git imap-send" learned to optionally talk with an IMAP server via
      libcURL; because there is no other option when Git is built with
      NO_OPENSSL option, use that codepath by default under such
      configuration.
      
      * km/imap-send-libcurl-options:
        imap-send: use cURL automatically when NO_OPENSSL defined
      0a819772
    • J
      Merge branch 'km/bsd-sysctl' · 551fc7ae
      Junio C Hamano 提交于
      We now detect number of CPUs on older BSD-derived systems.
      
      * km/bsd-sysctl:
        thread-utils.c: detect CPU count on older BSD-like systems
        configure: support HAVE_BSD_SYSCTL option
      551fc7ae