1. 04 4月, 2011 10 次提交
  2. 03 4月, 2011 2 次提交
  3. 02 4月, 2011 12 次提交
  4. 31 3月, 2011 8 次提交
  5. 29 3月, 2011 3 次提交
  6. 26 3月, 2011 2 次提交
    • J
      Git 1.7.4.2 · 78bc4667
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      78bc4667
    • J
      gitweb: Fix handling of fractional timezones in parse_date · 2b1e1723
      Jakub Narebski 提交于
      Fractional timezones, like -0330 (NST used in Canada) or +0430
      (Afghanistan, Iran DST), were not handled properly in parse_date; this
      means values such as 'minute_local' and 'iso-tz' were not generated
      correctly.
      
      This was caused by two mistakes:
      
      * sign of timezone was applied only to hour part of offset, and not
        as it should be also to minutes part (this affected only negative
        fractional timezones).
      
      * 'int $h + $m/60' is 'int($h + $m/60)' and not 'int($h) + $m/60',
        so fractional part was discarded altogether ($h is hours, $m is
        minutes, which is always less than 60).
      
      Note that positive fractional timezones +0430, +0530 and +1030 can be
      found as authortime in git.git repository itself.
      
      For example http://repo.or.cz/w/git.git/commit/88d50e7 had authortime
      of "Fri, 8 Jan 2010 18:48:07 +0000 (23:48 +0530)", which is not marked
      with 'atnight', when "git show 88d50e78" gives correct author date of
      "Sat Jan 9 00:18:07 2010 +0530".
      Signed-off-by: NJakub Narebski <jnareb@gmail.com>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      2b1e1723
  7. 24 3月, 2011 1 次提交
    • J
      doc: technical details about the index file format · 23fcc98f
      Junio C Hamano 提交于
       * Clarify "string of unsigned bytes";
      
       * Blob has two variants (regular file vs symlink), not (blob vs symlink);
      
       * Clarify permission mode bits;
      
       * Clarify ce_namelen() "too long to fit in the length field" case;
      
       * Clarify "." etc are forbidden as path components;
      
       * Match the description with the internal wording "cache-tree";
      
       * All types of extension begin with signature and length as explained in
         the first part. Don't repeat the "length" part in the description of
         each extension (can be mistaken as if there is a separate 32-bit size
         field inside the extension), but state what the signature for each
         extension is.
      
       * Don't say "Extension tag", as we have said "Extension signature" in the
         first part---be consistent;
      
       * Clarify the invalidation of cache-tree entries;
      
       * Correct description on subtree_nr field in the cache-tree;
      
       * Clarify the order of entries in cache-tree;
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      23fcc98f
  8. 23 3月, 2011 1 次提交
    • S
      git-am.txt: advertise 'git am --abort' instead of 'rm .git/rebase-apply' · b5f306fb
      SZEDER Gábor 提交于
      'git am --abort' is around for quite a long time now, and users should
      normally not poke around inside the .git directory, yet the
      documentation of 'git am' still recommends the following:
      
        ... if you decide to start over from scratch,
        run `rm -f -r .git/rebase-apply` ...
      
      Suggest 'git am --abort' instead.
      
      It's not quite the same as the original, because 'git am --abort' will
      restore the original branch, while simply removing '.git/rebase-apply'
      won't, but that's rather a thinko in the original wording, because
      that won't actually "start over _from scratch_".
      Signed-off-by: NSZEDER Gábor <szeder@ira.uka.de>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      b5f306fb
  9. 22 3月, 2011 1 次提交
    • J
      update $GIT_INDEX_FILE when there are racily clean entries · 483fbe2b
      Junio C Hamano 提交于
      Traditional "opportunistic index update" done by read-only "diff" and
      "status" was about updating cached lstat(2) information in the index for
      the next round.  We missed another obvious optimization opportunity: when
      there are racily clean entries that will cease to be racily clean by
      updating $GIT_INDEX_FILE.  Detect that case and write $GIT_INDEX_FILE out
      to give it a newer timestamp.
      
      Noticed by Lasse Makholm by stracing "git status" in a fresh checkout and
      counting the number of open(2) calls.
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      483fbe2b