1. 31 10月, 2007 6 次提交
  2. 19 10月, 2007 3 次提交
    • S
      Stop displaying "Pack pack-$ID created." during git-gc · 0e304043
      Shawn O. Pearce 提交于
      Discussion on the list tonight came to the conclusion that showing
      the name of the packfile we just created during git-repack is not
      a very useful message for any end-user.  For the really technical
      folk who need to have the name of the newest packfile they can use
      something such as `ls -t .git/objects/pack | head -2` to find the
      most recently created packfile.
      Signed-off-by: NShawn O. Pearce <spearce@spearce.org>
      0e304043
    • S
      Teach prune-packed to use the standard progress meter · b5d72f0a
      Shawn O. Pearce 提交于
      Rather than reimplementing the progress meter logic and always
      showing 100 lines of output while pruning already packed objects
      we now use a delayed progress meter and only show it if there are
      enough objects to make us take a little while.
      
      Most users won't see the message anymore as it usually doesn't take
      very long to delete the already packed loose objects.  This neatens
      the output of a git-gc or git-repack execution, which is especially
      important for a `git gc --auto` triggered from within another
      command.
      
      We perform the display_progress() call from within the very innermost
      loop in case we spend more than 1 second within any single object
      directory.  This ensures that a progress_update event from the
      timer will still trigger in a timely fashion and allow the user to
      see the progress meter.
      
      While I'm in here I changed the message to be more descriptive of
      its actual task.  "Removing unused objects" is a little scary for
      new users as they wonder where these unused objects came from and
      how they should avoid them.  Truth is these objects aren't unused
      in the sense of what git-prune would call a dangling object, these
      are used but are just duplicates of things we have already stored
      in a packfile.
      Signed-off-by: NShawn O. Pearce <spearce@spearce.org>
      b5d72f0a
    • S
      Change 'Deltifying objects' to 'Compressing objects' · 9c60a966
      Shawn O. Pearce 提交于
      Recently I was referred to the Grammar Police as the git-pack-objects
      progress message 'Deltifying %u objects' is considered to be not
      proper English to at least some small but vocal segment of the
      English speaking population.  Techncially we are applying delta
      compression to these objects at this stage, so the new term is
      slightly more acceptable to the Grammar Police but is also just
      as correct.
      Signed-off-by: NShawn O. Pearce <spearce@spearce.org>
      9c60a966
  3. 17 10月, 2007 22 次提交
  4. 16 10月, 2007 9 次提交