On Wed, Jun 24, 2015 at 10:15:08AM -0700, Junio C Hamano wrote:
I agree that would be better. I originally just blocked all use of
git-repack, but at the last minute softened it to just repack -d. I'm
not sure if that would actually help anyone in practice. Sure, doing
git repack without
On Tue, Jun 23, 2015 at 02:05:28PM -0700, Junio C Hamano wrote:
Jeff King p...@peff.net writes:
This extension does not change git's behavior at all. It is useful only
for testing format-1 compatibility.
+
+`preciousObjects`
+~
+
+When the config key
On Tue, Jun 23, 2015 at 05:31:14PM -0400, David Turner wrote:
On Tue, 2015-06-23 at 06:54 -0400, Jeff King wrote:
+ mkconfig 1 preciousObjects .git/config
nit: I think it's better to use git config rather than manually writing
config files. git config is more future-proof if we up
On Tue, Jun 23, 2015 at 06:54:11AM -0400, Jeff King wrote:
diff --git a/builtin/prune.c b/builtin/prune.c
index 0c73246..fc0c8e8 100644
--- a/builtin/prune.c
+++ b/builtin/prune.c
@@ -218,6 +218,9 @@ int cmd_prune(int argc, const char **argv, const char
*prefix)
return 0;
On Wed, Jun 24, 2015 at 3:12 PM, Jeff King p...@peff.net wrote:
On Tue, Jun 23, 2015 at 06:54:11AM -0400, Jeff King wrote:
diff --git a/builtin/prune.c b/builtin/prune.c
index 0c73246..fc0c8e8 100644
--- a/builtin/prune.c
+++ b/builtin/prune.c
@@ -218,6 +218,9 @@ int cmd_prune(int argc,
Jeff King p...@peff.net writes:
+ if (delete_redundant repository_format_precious_objects)
+ die(cannot repack in a precious-objects repo);
This message initially threw me off during my cursory reading, but
the code tells me that this is only about repack -d.
Unfortunately
On Tue, 2015-06-23 at 06:54 -0400, Jeff King wrote:
+ mkconfig 1 preciousObjects .git/config
nit: I think it's better to use git config rather than manually writing
config files. git config is more future-proof if we up switching config
backends; it's also more composable with other
Jeff King p...@peff.net writes:
This extension does not change git's behavior at all. It is useful only
for testing format-1 compatibility.
+
+`preciousObjects`
+~
+
+When the config key `extensions.preciousObjects` is set to `true`,
+objects in the repository MUST NOT
On Tue, Jun 23, 2015 at 06:14:22PM +0700, Duy Nguyen wrote:
+ if (delete_redundant repository_format_precious_objects)
+ die(cannot repack in a precious-objects repo);
+
if (pack_kept_objects 0)
pack_kept_objects = write_bitmaps;
I know
On Tue, Jun 23, 2015 at 5:54 PM, Jeff King p...@peff.net wrote:
diff --git a/builtin/prune.c b/builtin/prune.c
index 0c73246..fc0c8e8 100644
--- a/builtin/prune.c
+++ b/builtin/prune.c
@@ -218,6 +218,9 @@ int cmd_prune(int argc, const char **argv, const char
*prefix)
return
If this extension is used in a repository, then no
operations should run which may drop objects from the object
storage. This can be useful if you are sharing that storage
with other repositories whose refs you cannot see.
For instance, if you do:
$ git clone -s parent child
$ git -C parent
11 matches
Mail list logo