1. 08 4月, 2013 15 次提交
    • J
      Sync with 1.8.2.1 · 52a3e011
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      52a3e011
    • J
      Git 1.8.2.1 · 5bda18c1
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      5bda18c1
    • J
      Update draft release notes to 1.8.3 · c17b651f
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      c17b651f
    • J
      Merge branch 'jk/rm-removed-paths' · 0f3d66c6
      Junio C Hamano 提交于
      A handful of test cases and a corner case bugfix for "git rm".
      
      * jk/rm-removed-paths:
        t3600: document failure of rm across symbolic links
        t3600: test behavior of reverse-d/f conflict
        rm: do not complain about d/f conflicts during deletion
      0f3d66c6
    • J
      Merge branch 'tb/shared-perm' · e65cdde4
      Junio C Hamano 提交于
      Simplifies adjust_shared_perm() implementation.
      
      * tb/shared-perm:
        path.c: optimize adjust_shared_perm()
        path.c: simplify adjust_shared_perm()
      e65cdde4
    • J
      Merge branch 'cn/commit-amend-doc' · 60eea92b
      Junio C Hamano 提交于
      * cn/commit-amend-doc:
        Documentation/git-commit: reword the --amend explanation
      60eea92b
    • J
      Merge branch 'fc/remote-helpers-test-updates' · 41e9da40
      Junio C Hamano 提交于
      * fc/remote-helpers-test-updates:
        remote-hg: fix hg-git test-case
        remote-bzr: remove stale check code for tests
        remote-helpers: fix the run of all tests
        remote-bzr: avoid echo -n
      41e9da40
    • J
      Merge branch 'mg/texinfo-5' · cd5123da
      Junio C Hamano 提交于
      Strip @anchor elements in the texinfo output of the documentation,
      as a single document created by concatenating our entire manual set
      will produce many duplicates that makes newer texinfo unhappy.
      
      * mg/texinfo-5:
        Documentation: Strip texinfo anchors to avoid duplicates
      cd5123da
    • J
      Merge branch 'jk/diffcore-break-divzero' · 8a2decfe
      Junio C Hamano 提交于
      * jk/diffcore-break-divzero:
        diffcore-break: don't divide by zero
      8a2decfe
    • J
      Merge branch 'jk/bisect-prn-unsigned' · 252905dd
      Junio C Hamano 提交于
      * jk/bisect-prn-unsigned:
        bisect: avoid signed integer overflow
      252905dd
    • J
      Merge branch 'rr/triangle' · 4d35924e
      Junio C Hamano 提交于
      Support "pull from one place, push to another place" workflow
      better by introducing remote.pushdefault (overrides the "origin"
      thing) and branch.*.pushremote (overrides the branch.*.remote).
      
      * rr/triangle:
        remote.c: introduce branch.<name>.pushremote
        remote.c: introduce remote.pushdefault
        remote.c: introduce a way to have different remotes for fetch/push
        t5516 (fetch-push): drop implicit arguments from helper functions
        t5516 (fetch-push): update test description
        remote.c: simplify a bit of code using git_config_string()
      4d35924e
    • J
      Merge branch 'mm/status-during-revert' · e64734b6
      Junio C Hamano 提交于
      "git status" learned to report that you are in the middle of a
      revert session, just like it does for a cherry-pick and a bisect
      session.
      
      * mm/status-during-revert:
        status: show commit sha1 in "You are currently reverting" message
        status: show 'revert' state and status hint
      e64734b6
    • J
      Merge branch 'jk/set-upstream-error-cases' · 88dccb6c
      Junio C Hamano 提交于
      The handing by "git branch --set-upstream-to" against various forms
      of errorneous inputs were suboptimal.
      
      * jk/set-upstream-error-cases:
        branch: give advice when tracking start-point is missing
        branch: mention start_name in set-upstream error messages
        branch: improve error message for missing --set-upstream-to ref
        branch: factor out "upstream is not a branch" error messages
        t3200: test --set-upstream-to with bogus refs
      88dccb6c
    • J
      Merge branch 'jk/filter-branch-come-back-to-original' · 9a11f13d
      Junio C Hamano 提交于
      When used with "-d temporary-directory" option, "git filter-branch"
      failed to come back to the original working tree to perform the
      final clean-up procedure.
      
      * jk/filter-branch-come-back-to-original:
        filter-branch: return to original dir after filtering
      9a11f13d
    • J
      Sync with 1.8.1.6 · 6466fbbe
      Junio C Hamano 提交于
      6466fbbe
  2. 07 4月, 2013 12 次提交
  3. 06 4月, 2013 8 次提交
    • J
      Update draft release notes to 1.8.3 · 21ccebec
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      21ccebec
    • J
      Merge branch 'mh/rev-parse-verify-doc' · 7cd895e5
      Junio C Hamano 提交于
      "rev-parse --verify" was documented in a misleading way.
      
      * mh/rev-parse-verify-doc:
        rev-parse: clarify documentation for the --verify option
      7cd895e5
    • J
      Merge branch 'sg/gpg-sig' · d5fec92a
      Junio C Hamano 提交于
      Teach "merge/pull" to optionally verify and reject commits that are
      not signed properly.
      
      * sg/gpg-sig:
        pretty printing: extend %G? to include 'N' and 'U'
        merge/pull Check for untrusted good GPG signatures
        merge/pull: verify GPG signatures of commits being merged
        commit.c/GPG signature verification: Also look at the first GPG status line
        Move commit GPG signature verification to commit.c
      d5fec92a
    • J
      Merge branch 'jl/submodule-deinit' · 7b72ec5e
      Junio C Hamano 提交于
      A finishing touch to the new topic in 1.8.3.
      
      * jl/submodule-deinit:
        submodule deinit: clarify work tree removal message
      7b72ec5e
    • J
      Merge branch 'rr/send-email-perl-critique' · cb660275
      Junio C Hamano 提交于
      Update "git send-email" for issues noticed by PerlCritic.
      
      * rr/send-email-perl-critique:
        send-email: use the three-arg form of open in recipients_cmd
        send-email: drop misleading function prototype
        send-email: use "return;" not "return undef;" on error codepaths
      cb660275
    • J
      Merge branch 'jc/merge-tag-object' · e636241f
      Junio C Hamano 提交于
      "git merge $(git rev-parse v1.8.2)" behaved quite differently from
      "git merge v1.8.2" as if v1.8.2 were written as v1.8.2^0 and did
      not pay much attention to the annotated tag payload.
      
      This makes the code notice the type of the tag object, in addition
      to the dwim_ref() based classification the current code uses
      (i.e. the name appears in refs/tags/) to decide when to special
      case merging of tags.
      
      * jc/merge-tag-object:
        t6200: test message for merging of an annotated tag
        t6200: use test_config/test_unconfig
        merge: a random object may not necssarily be a commit
      e636241f
    • T
      path.c: optimize adjust_shared_perm() · cbe43b84
      Torsten Bögershausen 提交于
      Sometimes the chown() function is called even when not needed (This
      can be provoked by running t1301, and adding some debug code).
      
      Save a chmod from 400 to 400, or from 600 to 600 on these files:
      
       .git/info/refs+
       .git/objects/info/packs+
      
      Save chmod on directories from 2770 to 2770:
      
       .git/refs
       .git/refs/heads
       .git/refs/tags
      Signed-off-by: NTorsten Bögershausen <tboegi@web.de>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      cbe43b84
    • T
      path.c: simplify adjust_shared_perm() · 3a429d3b
      Torsten Bögershausen 提交于
      All calls to set_shared_perm() use mode == 0, so simplify the
      function.
      
      Because all callers use the macro adjust_shared_perm(path) from
      cache.h to call this function, convert it to a proper function,
      losing set_shared_perm().
      
      Since path.c has much more functions than just mkpath() these days,
      drop the stale comment about it.
      Signed-off-by: NTorsten Bögershausen <tboegi@web.de>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      3a429d3b
  4. 05 4月, 2013 5 次提交
    • C
      Documentation/git-commit: reword the --amend explanation · aa7b8c65
      Carlos Martín Nieto 提交于
      The explanation for 'git commit --amend' talks about preparing a tree
      object, which shouldn't be how user-facing documentation talks about
      commit.
      
      Reword it to say it works as usual, but replaces the current commit.
      Signed-off-by: NCarlos Martín Nieto <cmn@elego.de>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      aa7b8c65
    • J
      t3600: document failure of rm across symbolic links · 03415ca8
      Jeff King 提交于
      If we have a symlink "d" that points to a directory, we
      should not be able to remove "d/f". In the normal case,
      where "d/f" does not exist in the index, we already disallow
      this, as we only remove things that git knows about in the
      index. So for something like:
      
        ln -s /outside/repo foo
        git add foo
        git rm foo/bar
      
      we will properly produce an error (as there is no index
      entry for foo/bar). However, if there is an index entry for
      the path (e.g., because the movement is due to working tree
      changes that have not yet been reflected in the index), we
      will happily delete it, even though the path we delete from the
      filesystem is not the same as the path in the index.
      
      This patch documents that failure with a test.
      
      While this is a bug, it should not be possible to cause
      serious data loss with it. For any path that does not have
      an index entry, we will complain and bail. For a path which
      does have an index entry, we will do the usual up-to-date
      content check. So even if the deleted path in the filesystem
      is not the same as the one we are removing from the index,
      we do know that they at least have the same content, and
      that the content is included in HEAD.
      
      That means the worst case is not the accidental loss of
      content, but rather confusion by the user when a copy of a
      file another part of the tree is removed. Which makes this
      bug a minor and hard-to-trigger annoyance rather than a
      data-loss bug (and hence the fix can be saved for a rainy
      day when somebody feels like working on it).
      Signed-off-by: NJeff King <peff@peff.net>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      03415ca8
    • J
      Sync with maint · bfd70c53
      Junio C Hamano 提交于
      * maint:
        mailmap: update Pasky's address
        git-remote-mediawiki: new wiki URL in documentation
      bfd70c53
    • J
      mailmap: update Pasky's address · 3a3101c6
      Junio C Hamano 提交于
      Eric Wong noticed that the address at suse.cz no longer works.
      We may want to update in-code addresses as well, but let's do
      this first in 'maint'.
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      3a3101c6
    • J
      Merge branch 'nd/index-pack-threaded-fixes' into maint · f4df84de
      Junio C Hamano 提交于
      * nd/index-pack-threaded-fixes:
        index-pack: guard nr_resolved_deltas reads by lock
        index-pack: protect deepest_delta in multithread code
      f4df84de