1. 12 4月, 2013 1 次提交
    • M
      cherry-pick: make sure all input objects are commits · 21246dbb
      Miklos Vajna 提交于
      When a single argument was a non-commit, the error message used to be:
      
      	fatal: BUG: expected exactly one commit from walk
      
      For multiple arguments, when none of the arguments was a commit, the error was:
      
      	fatal: empty commit set passed
      
      Finally, when some of the arguments were non-commits, we ignored those
      arguments.  Fix this bug and make sure all arguments are commits, and
      for the first non-commit, error out with:
      
      	fatal: <name>: Can't cherry-pick a <type>
      Signed-off-by: NMiklos Vajna <vmiklos@suse.cz>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      21246dbb
  2. 09 4月, 2013 3 次提交
  3. 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
  4. 07 4月, 2013 12 次提交
  5. 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
  6. 05 4月, 2013 1 次提交