Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Nov 17, 2010
  1. @gitster

    Merge branch 'tr/maint-git-repack-tmpfile'

    gitster authored
    * tr/maint-git-repack-tmpfile:
      repack: place temporary packs under .git/objects/pack/
Commits on Jul 25, 2009
  1. @gitster

    Merge branch 'js/maint-graft-unhide-true-parents'

    gitster authored
    * js/maint-graft-unhide-true-parents:
      git repack: keep commits hidden by a graft
      Add a test showing that 'git repack' throws away grafted-away parents
    
    Conflicts:
    	git-repack.sh
Commits on Apr 5, 2009
  1. @gitster

    Merge branch 'maint'

    gitster authored
    * maint:
      git submodule: fix usage line
      doc/git-pack-refs: fix two grammar issues
      commit: abort commit if interactive add failed
      git-repack: use non-dashed update-server-info
Commits on Apr 2, 2009
  1. @gitster

    Merge branch 'jc/maint-1.6.0-keep-pack'

    gitster authored
    * jc/maint-1.6.0-keep-pack:
      pack-objects: don't loosen objects available in alternate or kept packs
      t7700: demonstrate repack flaw which may loosen objects unnecessarily
      Remove --kept-pack-only option and associated infrastructure
      pack-objects: only repack or loosen objects residing in "local" packs
      git-repack.sh: don't use --kept-pack-only option to pack-objects
      t7700-repack: add two new tests demonstrating repacking flaws
    
    Conflicts:
    	t/t7700-repack.sh
Commits on Mar 11, 2009
  1. @gitster

    Merge branch 'jc/maint-1.6.0-keep-pack'

    gitster authored
    * jc/maint-1.6.0-keep-pack:
      is_kept_pack(): final clean-up
      Simplify is_kept_pack()
      Consolidate ignore_packed logic more
      has_sha1_kept_pack(): take "struct rev_info"
      has_sha1_pack(): refactor "pretend these packs do not exist" interface
      git-repack: resist stray environment variable
Commits on Feb 28, 2009
  1. @gitster

    Simplify is_kept_pack()

    gitster authored
    This removes --unpacked=<packfile> parameter from the revision parser, and
    rewrites its use in git-repack to pass a single --kept-pack-only option
    instead.
    
    The new --kept-pack-only option means just that.  When this option is
    given, is_kept_pack() that used to say "not on the --unpacked=<packfile>
    list" now says "the packfile has corresponding .keep file".
    
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
  2. @gitster

    git-repack: resist stray environment variable

    gitster authored
    The script used $args and $existing without initializing it to empty.  It
    would have been confused by an environment variable the end user had
    before running it.
    
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
Commits on Feb 12, 2009
  1. @gitster

    Make repack less likely to corrupt repository

    gitster authored
    Some platforms refuse to rename a file that is open.  When repacking an
    already packed repository without adding any new object, the resulting
    pack will contain the same set of objects as an existing pack, and on such
    platforms, a newly created packfile cannot replace the existing one.
    
    The logic detected this issue but did not try hard enough to recover from
    it.  Especially because the files that needs renaming come in pairs, there
    potentially are different failure modes that one can be renamed but the
    others cannot.  Asking manual recovery to end users were error prone.
    
    This patch tries to make it more robust by first making sure all the
    existing files that need to be renamed have been renamed before
    continuing, and attempts to roll back if some failed to rename.
    
    This is based on an initial patch by Robin Rosenberg.
    
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
Commits on May 23, 2008
  1. @gitster

    Merge branch 'bc/repack'

    gitster authored
    * bc/repack:
      Documentation/git-repack.txt: document new -A behaviour
      let pack-objects do the writing of unreachable objects as loose objects
      add a force_object_loose() function
      builtin-gc.c: deprecate --prune, it now really has no effect
      git-gc: always use -A when manually repacking
      repack: modify behavior of -A option to leave unreferenced objects unpacked
    
    Conflicts:
    
    	builtin-pack-objects.c
Commits on Oct 3, 2007
  1. @gitster

    Merge branch 'jc/autogc'

    gitster authored
    * jc/autogc:
      git-gc --auto: run "repack -A -d -l" as necessary.
      git-gc --auto: restructure the way "repack" command line is built.
      git-gc --auto: protect ourselves from accumulated cruft
      git-gc --auto: add documentation.
      git-gc --auto: move threshold check to need_to_gc() function.
      repack -A -d: use --keep-unreachable when repacking
      pack-objects --keep-unreachable
      Export matches_pack_name() and fix its return value
      Invoke "git gc --auto" from commit, merge, am and rebase.
      Implement git gc --auto
Commits on Sep 18, 2007
  1. @gitster

    repack -A -d: use --keep-unreachable when repacking

    gitster authored
    This is a safer variant of "repack -a -d" that does not drop
    unreachable objects that are in packs.
    
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
Commits on Jul 3, 2007
  1. @gitster

    Rewrite "git-frotz" to "git frotz"

    gitster authored
    This uses the remove-dashes target to replace "git-frotz" to "git frotz".
    
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
Something went wrong with that request. Please try again.