1. 20 2月, 2008 5 次提交
    • J
      send-email: squelch warning due to comparing undefined $_ to "" · 1ca3d6ed
      Jay Soffian 提交于
      The check to see if initial_reply_to is defined was also comparing $_ to
      "" for a reason I cannot ascertain (looking at the commit which made the
      change didn't provide enlightenment), but if $_ is undefined, perl
      generates a warning.
      Signed-off-by: NJay Soffian <jaysoffian@gmail.com>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      1ca3d6ed
    • K
      Rename git-core rpm to just git and rename the meta-pacakge to git-all. · 7c33d3a5
      Kristian Høgsberg 提交于
      This fixes my favorite annoyance with the git rpm packaging: don't pull
      in tla when I say yum install git!  You wouldn't expect yum install gcc
      to pull in gcc-gfortran, right?
      
      With this change, and blanket 'yum update' will automatically pull in the
      new 'git' package and push out the old 'git-core', and if the old 'git'
      package was installed 'git-all' will be pulled in instead.  A couple of
      things do break though: 'yum update git-core', because yum behaves
      differently when given a specific package name - it doesn't follow obsoletes.
      
      Instead, 'yum install git' will pull in the new git rpm, which will then
      push out the old 'git-core'.  Similarly, to get the newest version of
      the meta package, 'yum install git-all' will install git-all, which then
      pushes out the old 'git' meta package.
      Signed-off-by: NKristian Høgsberg <krh@redhat.com>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      7c33d3a5
    • J
      push: document the status output · 066a5268
      Jeff King 提交于
      The output was meant to be a balance of self-explanatory and
      terse. In case we have erred too far on the terse side, it
      doesn't hurt to explain in more detail what each line means.
      Signed-off-by: NJeff King <peff@peff.net>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      066a5268
    • J
      Documentation/push: clarify matching refspec behavior · 68d06c52
      Jeff King 提交于
      The previous text was correct, but it was easy to miss the
      fact that we are talking about "matching" refs. That is, the
      text can be parsed as "we push the union of the sets
      of remote and local heads" and not "we push the intersection
      of the sets of remote and local heads". (The former actually
      doesn't make sense if you think about it, since we don't
      even _have_ some of those heads). A careful reading would
      reveal the correct meaning, but it makes sense to be as
      explicit as possible in documentation.
      
      We also explicitly use and introduce the term "matching";
      this is a term discussed on the list, and it seems useful
      to for users to be able to refer to this behavior by name.
      Signed-off-by: NJeff King <peff@peff.net>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      68d06c52
    • J
      push: indicate partialness of error message · 2b8130c3
      Jeff King 提交于
      The existing message indicates that an error occured during
      push, but it is unclear whether _any_ refs were actually
      pushed (even though the status table above shows which were
      pushed successfully and which were not, the message "failed
      to push" implies a total failure). By indicating that "some
      refs" failed, we hopefully indicate to the user that the
      table above contains the details.
      
      We could also put in an explicit "see above for details"
      message, but it seemed to clutter the output quite a bit
      (both on a line of its own, or at the end of the error line,
      which inevitably wraps).
      
      This could also be made more fancy if the transport
      mechanism passed back more details on how many refs
      succeeded and failed:
      
        error: failed to push %d out of %d refs to '%s'
      Signed-off-by: NJeff King <peff@peff.net>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      2b8130c3
  2. 17 2月, 2008 4 次提交
  3. 16 2月, 2008 15 次提交
  4. 14 2月, 2008 8 次提交
  5. 13 2月, 2008 1 次提交
    • J
      Revert "pack-objects: only throw away data during memory pressure" · 75ad235c
      Junio C Hamano 提交于
      This reverts commit 9c217435.
      
      Nico analyzed and found out that this does not really help, and
      I agree with it.
      
      By the time this gets into action and data is actively thrown
      away, performance simply goes down the drain due to the data
      constantly being reloaded over and over and over and over and
      over and over again, to the point of virtually making no
      relative progress at all.  The previous behavior of enforcing
      the memory limit by dynamically shrinking the window size at
      least had the effect of allowing some kind of progress, even if
      the end result wouldn't be optimal.
      
      And that's the whole point behind this memory limiting feature:
      allowing some progress to be made when resources are too limited
      to let the repack go unbounded.
      75ad235c
  6. 12 2月, 2008 7 次提交