1. 19 5月, 2012 1 次提交
  2. 27 4月, 2012 5 次提交
  3. 26 4月, 2012 1 次提交
    • J
      bundle: remove stray single-quote from error message · 97afde15
      Jonathan Nieder 提交于
      After running rev-list --boundary to retrieve the list of boundary
      commits, "git bundle create" runs its own revision walk.  If in this
      stage git encounters an unfamiliar option, it writes a message with an
      unbalanced quotation mark:
      
      	error: unrecognized argument: --foo'
      
      Drop the stray quote to match the "unrecognized argument: %s" message
      used elsewhere and save translators some work.
      
      This is mostly a futureproofing measure: for now, the "rev-list
      --boundary" command catches most strange arguments on its own and the
      above message is not seen unless you try something esoteric like "git
      bundle create test.bundle --header HEAD".
      Reported-by: NJunio C Hamano <gitster@pobox.com>
      Signed-off-by: NJonathan Nieder <jrnieder@gmail.com>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      97afde15
  4. 11 4月, 2012 1 次提交
  5. 10 4月, 2012 8 次提交
  6. 03 4月, 2012 2 次提交
  7. 31 3月, 2012 1 次提交
  8. 27 3月, 2012 7 次提交
  9. 24 3月, 2012 1 次提交
  10. 21 3月, 2012 5 次提交
  11. 16 3月, 2012 1 次提交
    • J
      fetch/receive: remove over-pessimistic connectivity check · d21c463d
      Junio C Hamano 提交于
      Git 1.7.8 introduced an object and history re-validation step after
      "fetch" or "push" causes new history to be added to a receiving
      repository. This is to protect a malicious server or pushing client from
      corrupting the repository by taking advantage of an existing corrupt
      object that is unconnected to existing history.
      
      But this check is way over-pessimistic.  During "fetch" or "receive-pack"
      (the server side of "push"), unpack-objects and index-pack already
      validate individual objects that are received, and the only thing we would
      want to catch are corrupted objects that already happen to exist in our
      repository but are not referenced from our refs.  Such objects must have
      been written by an earlier run of our codepaths that write out loose
      objects or packfiles, and they must have done the validation of individual
      objects when they did so.  The only thing left to worry about is the
      connectivity integrity, which can be checked with "rev-list --objects",
      which is much cheaper.  We have been paying the 5x to 8x runtime overhead
      the --verify-objects often adds for no real gain.
      
      Revert check_everything_connected() not to use this over-pessimistic
      check.
      
      Credit goes to Nguyễn Thái Ngọc Duy, who originally identified the
      performance regression and endured multiple rounds of reviews to fix it.
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      d21c463d
  12. 13 3月, 2012 6 次提交
    • J
      Git 1.7.9.4 · a4603481
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      a4603481
    • J
      Merge branch 'tr/maint-bundle-boundary' into maint · 92b7aacb
      Junio C Hamano 提交于
      "git bundle" did not record boundary commits correctly when there
      are many of them.
      
      By Thomas Rast
      * tr/maint-bundle-boundary:
        bundle: keep around names passed to add_pending_object()
        t5510: ensure we stay in the toplevel test dir
        t5510: refactor bundle->pack conversion
      92b7aacb
    • J
      Merge branch 'jc/maint-diff-patch-header' into maint · fce8b5d8
      Junio C Hamano 提交于
      "git diff-index" and its friends at the plumbing level showed the
      "diff --git" header and nothing else for a path whose cached stat
      info is dirty without actual difference when asked to produce a
      patch. This was a longstanding bug that we could have fixed long
      time ago.
      
      By Junio C Hamano
      * jc/maint-diff-patch-header:
        diff -p: squelch "diff --git" header for stat-dirty paths
        t4011: illustrate "diff-index -p" on stat-dirty paths
        t4011: modernise style
      fce8b5d8
    • J
      Merge branch 'jn/maint-do-not-match-with-unsanitized-searchtext' into maint · f629c233
      Junio C Hamano 提交于
      "gitweb" did use quotemeta() to prepare search string when asked to
      do a fixed-string project search, but did not use it by mistake and
      used the user-supplied string instead.
      
      By Jakub Narebski
      * jn/maint-do-not-match-with-unsanitized-searchtext:
        gitweb: Fix fixed string (non-regexp) project search
      f629c233
    • J
      Merge branch 'jc/am-3-nonstandard-popt' into maint · b91a13bb
      Junio C Hamano 提交于
      The code to synthesize the fake ancestor tree used by 3-way merge
      fallback in "git am" was not prepared to read a patch created with
      a non-standard -p<num> value.
      
      * jc/am-3-nonstandard-popt:
        test: "am -3" can accept non-standard -p<num>
        am -3: allow nonstandard -p<num> option
      b91a13bb
    • M
      config: report errors at the EOL with correct line number · 4b340593
      Martin Stenberg 提交于
      A section in a config file with a missing "]" reports the next line
      as bad, same goes to a value with a missing end quote.
      
      This happens because the error is not detected until the end of the
      line, when line number is already increased. Fix this by decreasing
      line number by one for these cases.
      Signed-off-by: NMartin Stenberg <martin@gnutiken.se>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      4b340593
  13. 10 3月, 2012 1 次提交