{"push_id":1236440053,"size":9,"distinct_size":0,"ref":"refs/heads/jk/ignore-have","head":"adb97a0e82e59b632e82282bb72072f2e306376a","before":"46085ddfd2544d4e0508d52c9bf470a03ff4be13","commits":[{"sha":"280abfd4f5055922e8abcbb988fa0a8df0eef128","author":{"name":"Stefan Beller","email":"75e5af3a5fc6e432c184f339c5c73c118a246be6@google.com"},"message":"Documentation: pack-protocol correct NAK response\n\nIn the transport protocol we use NAK to signal the non existence of a\ncommon base, so fix the documentation. This helps readers of the document,\nas they don't have to wonder about the difference between NAK and NACK.\nAs NACK is used in git archive and upload-archive, this is easy to get\nwrong.\n\nSigned-off-by: Stefan Beller <sbeller@google.com>\nSigned-off-by: Junio C Hamano <gitster@pobox.com>","distinct":false,"url":"https://api.github.com/repos/peff/git/commits/280abfd4f5055922e8abcbb988fa0a8df0eef128"},{"sha":"c4c02bf16c47f8751958458e540269ec13f4bd98","author":{"name":"Johannes Sixt","email":"123d939da5bdc95cad69c1f0a029d0512272c6b0@kdbg.org"},"message":"git-submodule: forward exit code of git-submodule--helper more faithfully\n\ngit-submodule--helper is invoked as the upstream of a pipe in several\nplaces. Usually, the failure of a program in this position is not\ndetected by the shell. For this reason, the code inserts a token in the\noutput stream when git-submodule--helper fails that is detected\ndownstream, where the shell script is quit with exit code 1.\n\nThere happens to be a bug in git-submodule--helper that leads to a\nsegmentation fault. The test suite triggers the crash in several places,\nall of which are protected by 'test_must_fail'. But due to the inspecific\nexit code 1, the crash remains undiagnosed.\n\nExtend the failure protocol such that git-submodule--helper's exit code\nis passed downstream (only in the case of failure). This enables the\ndownstream to use it as its own exit code, and 'test_must_fail' to\nidentify the segmentation fault as an unexpected failure.\n\nThe bug itself is fixed in the next commit.\n\nSigned-off-by: Johannes Sixt <j6t@kdbg.org>\nAcked-by: Stefan Beller <sbeller@google.com>\nSigned-off-by: Junio C Hamano <gitster@pobox.com>","distinct":false,"url":"https://api.github.com/repos/peff/git/commits/c4c02bf16c47f8751958458e540269ec13f4bd98"},{"sha":"eb09121b745e9aa5bbd3fa438f873c3511f48b33","author":{"name":"Johannes Sixt","email":"123d939da5bdc95cad69c1f0a029d0512272c6b0@kdbg.org"},"message":"submodule-helper: fix indexing in clone retry error reporting path\n\n'git submodule--helper update-clone' has logic to retry failed clones\na second time. For this purpose, there is a list of submodules to clone,\nand a second list that is filled with the submodules to retry. Within\nthese lists, the submodules are identified by an index as if both lists\nwere just appended.\n\nThis works nicely except when the second clone attempt fails as well. To\nreport an error, the identifying index must be adjusted by an offset so\nthat it can be used as an index into the second list. However, the\ncalculation uses the logical total length of the lists so that the result\nalways points one past the end of the second list.\n\nPick the correct index.\n\nSigned-off-by: Johannes Sixt <j6t@kdbg.org>\nAcked-by: Stefan Beller <sbeller@google.com>\nSigned-off-by: Junio C Hamano <gitster@pobox.com>","distinct":false,"url":"https://api.github.com/repos/peff/git/commits/eb09121b745e9aa5bbd3fa438f873c3511f48b33"},{"sha":"8465541e8ce8eaf16e66ab847086779768c18f2d","author":{"name":"Junio C Hamano","email":"3228067b6039a0d99bddaf967dafdecd5cc61600@pobox.com"},"message":"grep: further simplify setting the pattern type\n\nWhen c5c31d33 (grep: move pattern-type bits support to top-level\ngrep.[ch], 2012-10-03) introduced grep_commit_pattern_type() helper\nfunction, the intention was to allow the users of grep API to having\nto fiddle only with .pattern_type_option (which can be set to \"fixed\",\n\"basic\", \"extended\", and \"pcre\"), and then immediately before compiling\nthe pattern strings for use, call grep_commit_pattern_type() to have\nit prepare various bits in the grep_opt structure (like .fixed,\n.regflags, etc.).\n\nHowever, grep_set_pattern_type_option() helper function the grep API\ninternally uses were left as an external function by mistake.  This\nfunction shouldn't have been made callable by the users of the API.\n\nLater when the grep API was used in revision traversal machinery,\nthe caller then mistakenly started calling the function around\n34a4ae55 (log --grep: use the same helper to set -E/-F options as\n\"git grep\", 2012-10-03), instead of setting the .pattern_type_option\nfield and letting the grep_commit_pattern_type() to take care of the\ndetails.\n\nThis caused an unnecessary bug that made a configured\ngrep.patternType take precedence over the command line options\n(e.g. --basic-regexp, --fixed-strings) in \"git log\" family of\ncommands.\n\nSigned-off-by: Junio C Hamano <gitster@pobox.com>","distinct":false,"url":"https://api.github.com/repos/peff/git/commits/8465541e8ce8eaf16e66ab847086779768c18f2d"},{"sha":"10881f076e19fbd0fa7b753b7c6c8203b419be83","author":{"name":"Junio C Hamano","email":"3228067b6039a0d99bddaf967dafdecd5cc61600@pobox.com"},"message":"Merge branch 'sb/pack-protocol-doc-nak'\n\nA doc update.\n\n* sb/pack-protocol-doc-nak:\n  Documentation: pack-protocol correct NAK response","distinct":false,"url":"https://api.github.com/repos/peff/git/commits/10881f076e19fbd0fa7b753b7c6c8203b419be83"},{"sha":"1e9a4856fb263ad8227456f9ec6b78804afe7cee","author":{"name":"Junio C Hamano","email":"3228067b6039a0d99bddaf967dafdecd5cc61600@pobox.com"},"message":"Merge branch 'sb/submodule-clone-retry'\n\nAn earlier tweak to make \"submodule update\" retry a failing clone\nof submodules was buggy and caused segfault, which has been fixed.\n\n* sb/submodule-clone-retry:\n  submodule-helper: fix indexing in clone retry error reporting path\n  git-submodule: forward exit code of git-submodule--helper more faithfully","distinct":false,"url":"https://api.github.com/repos/peff/git/commits/1e9a4856fb263ad8227456f9ec6b78804afe7cee"},{"sha":"b422d99658d1fde0a288c48225a9ae5789c7a270","author":{"name":"Junio C Hamano","email":"3228067b6039a0d99bddaf967dafdecd5cc61600@pobox.com"},"message":"Merge branch 'jc/grep-commandline-vs-configuration'\n\n\"git -c grep.patternType=extended log --basic-regexp\" misbehaved\nbecause the internal API to access the grep machinery was not\ndesigned well.\n\n* jc/grep-commandline-vs-configuration:\n  grep: further simplify setting the pattern type","distinct":false,"url":"https://api.github.com/repos/peff/git/commits/b422d99658d1fde0a288c48225a9ae5789c7a270"},{"sha":"c6b0597e9ac7277e148e2fd4d7615ac6e0bfb661","author":{"name":"Junio C Hamano","email":"3228067b6039a0d99bddaf967dafdecd5cc61600@pobox.com"},"message":"Tenth batch for 2.10\n\nSigned-off-by: Junio C Hamano <gitster@pobox.com>","distinct":false,"url":"https://api.github.com/repos/peff/git/commits/c6b0597e9ac7277e148e2fd4d7615ac6e0bfb661"},{"sha":"adb97a0e82e59b632e82282bb72072f2e306376a","author":{"name":"Jeff King","email":"7e57302763bea699aee296fb53304dc616ab92d5@peff.net"},"message":"receive-pack: respect receive.advertiseAlternates config\n\nUsually receive-pack advertises ref tips from alternates\nrepositories so that clients can sometimes avoid sending\nobjects that are already upstream.\n\nHowever, if you have a very large alternates network, then\nthe number of \".have\" refs can get cumbersome, and you spend\nmore time advertising refs that the client doesn't care\nabout than you are saving in the optimization.\n\nThis patch adds a config variable to drop .have lines\nentirely.\n\nAn alternative approach would be to restrict the .have lines\nto a smaller portion of the namespace that is known to be\n\"interesting\" to most clients. This patch is much simpler;\nif the loss of the .have optimization turns out to be too\nmuch, we can try something more complex.","distinct":false,"url":"https://api.github.com/repos/peff/git/commits/adb97a0e82e59b632e82282bb72072f2e306376a"}]}
{"actor":{"display_login":"peff"}}