{"thread":{"id":"11595","subject":"[PATCH] Document some default values in config.txt","startedAt":"2008-01-11T21:11:13Z","lastAt":"2008-01-12T00:06:17Z","messageCount":2,"participants":["Michele Ballabio","Junio C Hamano"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"65059","messageId":"200801112211.13816.barra_cuda@katamail.com","threadId":"11595","inReplyTo":null,"subject":"[PATCH] Document some default values in config.txt","fromName":"Michele Ballabio","fromEmail":"barra_cuda@katamail.com","sentAt":"2008-01-11T21:11:13Z","receivedAt":"2008-01-11T21:11:13Z","isPatch":true,"sender":{"key":"barra_cuda@katamail.com","avatar":"https://avatars.githubusercontent.com/u/16371673?v=4"},"body":"This documents the default values of gc.auto, gc.autopacklimit\nfetch.unpacklimit, receive.unpacklimit and transfer.unpacklimit.\n\nSigned-off-by: Michele Ballabio <barra_cuda@katamail.com>\n---\n Documentation/config.txt |   17 +++++++++++------\n 1 files changed, 11 insertions(+), 6 deletions(-)\n\ndiff --git a/Documentation/config.txt b/Documentation/config.txt\nindex 1b6d6d6..6f09fee 100644\n--- a/Documentation/config.txt\n+++ b/Documentation/config.txt\n@@ -473,7 +473,9 @@ fetch.unpackLimit::\n \texceeds this limit then the received pack will be stored as\n \ta pack, after adding any missing delta bases.  Storing the\n \tpack from a push can make the push operation complete faster,\n-\tespecially on slow filesystems.\n+\tespecially on slow filesystems.  If not set, the value of\n+\t`transfer.unpackLimit` (which in turn defaults to 100) is\n+\tused instead.\n \n format.numbered::\n \tA boolean which can enable sequence numbers in patch subjects.\n@@ -499,14 +501,14 @@ gc.auto::\n \tWhen there are approximately more than this many loose\n \tobjects in the repository, `git gc --auto` will pack them.\n \tSome Porcelain commands use this command to perform a\n-\tlight-weight garbage collection from time to time.  Setting\n-\tthis to 0 disables it.\n+\tlight-weight garbage collection from time to time.  The\n+\tdefault value is 6700.  Setting this to 0 disables it.\n \n gc.autopacklimit::\n \tWhen there are more than this many packs that are not\n \tmarked with `*.keep` file in the repository, `git gc\n-\t--auto` consolidates them into one larger pack.  Setting\n-\tthis to 0 disables this.\n+\t--auto` consolidates them into one larger pack.  The\n+\tdefault\tvalue is 20.  Setting this to 0 disables it.\n \n gc.packrefs::\n \t`git gc` does not run `git pack-refs` in a bare repository by\n@@ -861,7 +863,9 @@ receive.unpackLimit::\n \texceeds this limit then the received pack will be stored as\n \ta pack, after adding any missing delta bases.  Storing the\n \tpack from a push can make the push operation complete faster,\n-\tespecially on slow filesystems.\n+\tespecially on slow filesystems.  If not set, the value of\n+\t`transfer.unpackLimit` (which in turn defaults to 100) is\n+\tused instead.\n \n receive.denyNonFastForwards::\n \tIf set to true, git-receive-pack will deny a ref update which is\n@@ -872,6 +876,7 @@ receive.denyNonFastForwards::\n transfer.unpackLimit::\n \tWhen `fetch.unpackLimit` or `receive.unpackLimit` are\n \tnot set, the value of this variable is used instead.\n+\tThe default value is 100.\n \n web.browser::\n \tSpecify a web browser that may be used by some commands.\n-- \n1.5.3.5\n"},{"id":"65087","messageId":"7vmyrb29hi.fsf@gitster.siamese.dyndns.org","threadId":"11595","inReplyTo":"200801112211.13816.barra_cuda@katamail.com","subject":"Re: [PATCH] Document some default values in config.txt","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2008-01-12T00:06:17Z","receivedAt":"2008-01-12T00:06:17Z","isPatch":true,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"I am not a very big fan of describing the default values, but I\nwould grudgingly agree they should be mentioned somewhere.\n\nI dropped all the \"which in turn defaults to\" as they will\ninvite maintenance nightmare in the future, though.\n\nThanks.\n"}]}