1. 28 11月, 2008 8 次提交
  2. 27 11月, 2008 4 次提交
  3. 24 11月, 2008 3 次提交
  4. 17 11月, 2008 1 次提交
  5. 16 11月, 2008 2 次提交
  6. 15 11月, 2008 3 次提交
  7. 14 11月, 2008 1 次提交
    • L
      date/time: do not get confused by fractional seconds · e9854a76
      Linus Torvalds 提交于
      The date/time parsing code was confused if the input time HH:MM:SS is
      followed by fractional seconds.  Since we do not record anything finer
      grained than seconds, we could just drop fractional part, but there is a
      twist.
      
      We have taught people that not just spaces but dot can be used as word
      separators when spelling things like:
      
          $ git log --since 2.days
          $ git show @{12:34:56.7.days.ago}
      
      and we shouldn't mistake "7" in the latter example as a fraction and
      discard it.
      
      The rules are:
      
       - valid days of month/mday are always single or double digits.
      
       - valid years are either two or four digits
      
         No, we don't support the year 600 _anyway_, since our encoding is based
         on the UNIX epoch, and the day we worry about the year 10,000 is far
         away and we can raise the limit to five digits when we get closer.
      
       - Other numbers (eg "600 days ago") can have any number of digits, but
         they cannot start with a zero. Again, the only exception is for
         two-digit numbers, since that is fairly common for dates ("Dec 01" is
         not unheard of)
      
      So that means that any milli- or micro-second would be thrown out just
      because the number of digits shows that it cannot be an interesting date.
      
      A milli- or micro-second can obviously be a perfectly fine number
      according to the rules above, as long as it doesn't start with a '0'. So
      if we have
      
      	12:34:56.123
      
      then that '123' gets parsed as a number, and we remember it. But because
      it's bigger than 31, we'll never use it as such _unless_ there is
      something after it to trigger that use.
      
      So you can say "12:34:56.123.days.ago", and because of the "days", that
      123 will actually be meaninful now.
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      e9854a76
  8. 13 11月, 2008 4 次提交
    • J
      Start 1.6.0.5 cycle · c14639f7
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      c14639f7
    • N
      Fix pack.packSizeLimit and --max-pack-size handling · a1e4760f
      Nicolas Pitre 提交于
      If the limit was sufficiently low, having a single object written
      could bust the limit (by design), but caused the remaining allowed
      size to go negative for subsequent objects, which for an unsigned
      variable is a rather huge limit.
      Signed-off-by: NNicolas Pitre <nico@cam.org>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      a1e4760f
    • J
      checkout: Fix "initial checkout" detection · fa7b3c2f
      Junio C Hamano 提交于
      Earlier commit 55218834 (checkout: do not lose staged removal, 2008-09-07)
      tightened the rule to prevent switching branches from losing local
      changes, so that staged removal of paths can be protected, while
      attempting to keep a loophole to still allow a special case of switching
      out of an un-checked-out state.
      
      However, the loophole was made a bit too tight, and did not allow
      switching from one branch (in an un-checked-out state) to check out
      another branch.
      
      The change to builtin-checkout.c in this commit loosens it to allow this,
      by not insisting the original commit and the new commit to be the same.
      
      It also introduces a new function, is_index_unborn (and an associated
      macro, is_cache_unborn), to check if the repository is truly in an
      un-checked-out state more reliably, by making sure that $GIT_INDEX_FILE
      did not exist when populating the in-core index structure.  A few places
      the earlier commit 55218834 added the check for the initial checkout
      condition are updated to use this function.
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      fa7b3c2f
    • M
      Remove the period after the git-check-attr summary · 0d641f75
      Matt Kraai 提交于
      The period at the end of the git-check-attr summary causes there to be
      two periods after the summary in the git(1) manual page.
      Signed-off-by: NMatt Kraai <kraai@ftbfs.org>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      0d641f75
  9. 12 11月, 2008 4 次提交
  10. 10 11月, 2008 3 次提交
  11. 09 11月, 2008 6 次提交
  12. 06 11月, 2008 1 次提交