{"push_id":1542029177,"size":76,"distinct_size":0,"ref":"refs/heads/jk/xdiff-hardening","head":"3202fa27a1fb8506d40184a8dc0f343274a08c79","before":"dd750cebea470212b5c3e28688b9f9a6bf192148","commits":[{"sha":"619acfc78c526bc9df17b7704e60d0512ab7a84c","author":{"name":"Stefan Beller","email":"75e5af3a5fc6e432c184f339c5c73c118a246be6@google.com"},"message":"submodule add: extend force flag to add existing repos\n\nCurrently the force flag in `git submodule add` takes care of possibly\nignored files or when a name collision occurs.\n\nHowever there is another situation where submodule add comes in handy:\nWhen you already have a gitlink recorded, but no configuration was\ndone (i.e. no .gitmodules file nor any entry in .git/config) and you\nwant to generate these config entries. For this situation allow\n`git submodule add` to proceed if there is already a submodule at the\ngiven path in the index.\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/619acfc78c526bc9df17b7704e60d0512ab7a84c"},{"sha":"84a7f09625685b2093ff0221ad855f5f783b4b4a","author":{"name":"Stefan Beller","email":"75e5af3a5fc6e432c184f339c5c73c118a246be6@google.com"},"message":"read-tree: use OPT_BOOL instead of OPT_SET_INT\n\nAll occurrences of OPT_SET_INT were setting the value to 1;\ninternally OPT_BOOL is just that.\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/84a7f09625685b2093ff0221ad855f5f783b4b4a"},{"sha":"0b8b25f610b60f7a1c5f2608c3a3aaf409013b1b","author":{"name":"Stefan Beller","email":"75e5af3a5fc6e432c184f339c5c73c118a246be6@google.com"},"message":"t1000: modernize style\n\nThe preferred style in tests is:\n\n    test_expect_success 'short description then sq to open the body' '\n\t    here comes the test &&\n\t    and chains over many lines &&\n\t    with closing sq on its own line\n    '\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/0b8b25f610b60f7a1c5f2608c3a3aaf409013b1b"},{"sha":"83587d5236cbb4f45d6c0c551d0f0669ba25b176","author":{"name":"Stefan Beller","email":"75e5af3a5fc6e432c184f339c5c73c118a246be6@google.com"},"message":"t1001: modernize style\n\nThe preferred style in tests is:\n\n    test_expect_success 'short description then sq to open the body' '\n\t    here comes the test &&\n\t    and chains over many lines &&\n\t    with closing sq on its own line\n    '\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/83587d5236cbb4f45d6c0c551d0f0669ba25b176"},{"sha":"8d7aa4ba6a00b3ff69261e88b4842c0df5662125","author":{"name":"Elia Pinto","email":"29d524c820902554678446a0ba810abeb2be77a2@gmail.com"},"message":"builtin/commit.c: remove the PATH_MAX limitation via dynamic allocation\n\nRemove the PATH_MAX limitation from the environment setting that\npoints to a filename by switching to dynamic allocation.\n\nAs a side effect of this change, we also reduce the snprintf()\ncalls, that may silently truncate results if the programmer is not\ncareful.\n\nHelped-by: Junio C Hamano <gitster@pobox.com>\nHelped-by: Jeff King <peff@peff.net>\nSigned-off-by: Elia Pinto <gitter.spiros@gmail.com>\nSigned-off-by: Junio C Hamano <gitster@pobox.com>","distinct":false,"url":"https://api.github.com/repos/peff/git/commits/8d7aa4ba6a00b3ff69261e88b4842c0df5662125"},{"sha":"c2f41bf521b5b2ffb9ea93b98e4a57bf73d70864","author":{"name":"Nguyễn Thái Ngọc Duy","email":"d0e3b15a74ff6c70e81434a55b9c843230dc3715@gmail.com"},"message":"color.c: fix color_parse_mem() with value_len == 0\n\nIn this code we want to match the word \"reset\". If len is zero,\nstrncasecmp() will return zero and we incorrectly assume it's \"reset\" as\na result.\n\nSigned-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>\nSigned-off-by: Junio C Hamano <gitster@pobox.com>","distinct":false,"url":"https://api.github.com/repos/peff/git/commits/c2f41bf521b5b2ffb9ea93b98e4a57bf73d70864"},{"sha":"bc4075653e3f704f0440ec54e16f88fbc39a682d","author":{"name":"Nguyễn Thái Ngọc Duy","email":"d0e3b15a74ff6c70e81434a55b9c843230dc3715@gmail.com"},"message":"color.c: trim leading spaces in color_parse_mem()\n\nNormally color_parse_mem() is called from config parser which trims the\nleading spaces already. The new caller in the next patch won't. Let's be\ntidy and trim leading spaces too (we already trim trailing spaces\nafter a word).\n\nSigned-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>\nSigned-off-by: Junio C Hamano <gitster@pobox.com>","distinct":false,"url":"https://api.github.com/repos/peff/git/commits/bc4075653e3f704f0440ec54e16f88fbc39a682d"},{"sha":"f7bf8feaf504767d1c147cc8cd03d7df2539ba47","author":{"name":"brian m. carlson","email":"9a8321555f84a62ad611878ce636164e4289978d@crustytoothpaste.net"},"message":"Documentation: fix warning in cat-texi.perl\n\nNewer versions of Perl produce the warning \"Unescaped left brace in\nregex is deprecated, passed through in regex\" when an unescaped left\nbrace occurs in a regex.  Escape the brace to avoid this warning.\n\nSigned-off-by: brian m. carlson <sandals@crustytoothpaste.net>\nSigned-off-by: Junio C Hamano <gitster@pobox.com>","distinct":false,"url":"https://api.github.com/repos/peff/git/commits/f7bf8feaf504767d1c147cc8cd03d7df2539ba47"},{"sha":"b56867c9866bede78bed30373a193d9c7f2ce2d3","author":{"name":"brian m. carlson","email":"9a8321555f84a62ad611878ce636164e4289978d@crustytoothpaste.net"},"message":"Documentation: modernize cat-texi.perl\n\nGood style for Perl includes using the strict and warnings pragmas, and\npreferring lexical file handles over bareword file handles.  Using\nlexical file handles necessitates being explicit when $_ is printed, so\nthat Perl does not get confused and instead print the glob ref.\n\nThe benefit of this modernization is that a formerly obscured bug is now\nvisible, which will be fixed in a followup patch.\n\nSigned-off-by: brian m. carlson <sandals@crustytoothpaste.net>\nSigned-off-by: Junio C Hamano <gitster@pobox.com>","distinct":false,"url":"https://api.github.com/repos/peff/git/commits/b56867c9866bede78bed30373a193d9c7f2ce2d3"},{"sha":"a7e1b15c5492c0d5da1187ed6d7a81270a1ec339","author":{"name":"brian m. carlson","email":"9a8321555f84a62ad611878ce636164e4289978d@crustytoothpaste.net"},"message":"Documentation: remove unneeded argument in cat-texi.perl\n\nThe newly-added use of the warnings pragma exposes that the $menu[0]\nargument to printf has long been silently ignored, since there is no\nformat specifier for it.  It doesn't appear that the argument is\nactually needed, either: there is no reason to insert the name of one\nparticular documentation page anywhere in the header that's being\ngenerated.\n\nRemove the unused argument, and since the format specification\nfunctionality is no longer needed, convert the printf to a simple print.\n\nSigned-off-by: brian m. carlson <sandals@crustytoothpaste.net>\nSigned-off-by: Junio C Hamano <gitster@pobox.com>","distinct":false,"url":"https://api.github.com/repos/peff/git/commits/a7e1b15c5492c0d5da1187ed6d7a81270a1ec339"},{"sha":"c4abba43554228a8c6e3082e7da7f0993c2d6b4b","author":{"name":"brian m. carlson","email":"9a8321555f84a62ad611878ce636164e4289978d@crustytoothpaste.net"},"message":"Documentation: sort sources for gitman.texi\n\nSorting the sources makes it easier to compare the output using diff.\nIn addition, it aids groups creating reproducible builds, as the order\nof the files is no longer dependent on the file system or other\nirrelevant factors.\n\nSigned-off-by: brian m. carlson <sandals@crustytoothpaste.net>\nSigned-off-by: Junio C Hamano <gitster@pobox.com>","distinct":false,"url":"https://api.github.com/repos/peff/git/commits/c4abba43554228a8c6e3082e7da7f0993c2d6b4b"},{"sha":"95e5efc6dcf5941637bf9ead0f78861017c3aa85","author":{"name":"brian m. carlson","email":"9a8321555f84a62ad611878ce636164e4289978d@crustytoothpaste.net"},"message":"Documentation: add XSLT to fix DocBook for Texinfo\n\nThere are two ways to create a section in a reference document (i.e.,\nmanpage) in DocBook 4: refsection elements and refsect, refsect2, and\nrefsect3 elements.  Either form is acceptable as of DocBook 4.2, but\nthey cannot be mixed.  Prior to DocBook 4.2, only the numbered forms\nwere acceptable.\n\ndocbook2texi only accepts the numbered forms, and this has not generally\nbeen a problem, since AsciiDoc produces the numbered forms.\nAsciidoctor, on the other hand, uses a shared backend for DocBook 4 and\n5, and uses the unnumbered refsection elements instead.\n\nIf we don't convert the unnumbered form to the numbered form,\ndocbook2texi omits section headings, which is undesirable.  Add an XSLT\nstylesheet to transform the unnumbered forms to the numbered forms\nautomatically, and preprocess the DocBook XML as part of the\ntransformation to Texinfo format.\n\nNote that this transformation is only necessary for Texinfo, since\ndocbook2texi provides its own stylesheets.  The DocBook stylesheets,\nwhich we use for other formats, provide the full range of DocBook 4 and\n5 compatibility, and don't have this issue.\n\nSigned-off-by: brian m. carlson <sandals@crustytoothpaste.net>\nSigned-off-by: Junio C Hamano <gitster@pobox.com>","distinct":false,"url":"https://api.github.com/repos/peff/git/commits/95e5efc6dcf5941637bf9ead0f78861017c3aa85"},{"sha":"ae4e3e8d449a8e1fbe8d5a3fe5e69f1154f97f3f","author":{"name":"brian m. carlson","email":"9a8321555f84a62ad611878ce636164e4289978d@crustytoothpaste.net"},"message":"Documentation: move dblatex arguments into variable\n\nOur dblatex invocation uses several style components from the AsciiDoc\ndistribution, but those components are not available when building with\nAsciidoctor.  Move the command line arguments into a variable so it can\nbe overridden by the user or makefile configuration options.\n\nSigned-off-by: brian m. carlson <sandals@crustytoothpaste.net>\nSigned-off-by: Junio C Hamano <gitster@pobox.com>","distinct":false,"url":"https://api.github.com/repos/peff/git/commits/ae4e3e8d449a8e1fbe8d5a3fe5e69f1154f97f3f"},{"sha":"ec3366eb52caad29e4cfb0a0afb605c450ad5a39","author":{"name":"brian m. carlson","email":"9a8321555f84a62ad611878ce636164e4289978d@crustytoothpaste.net"},"message":"Makefile: add a knob to enable the use of Asciidoctor\n\nWhile Git has traditionally built its documentation using AsciiDoc, some\npeople wish to use Asciidoctor for speed or other reasons.  Add a\nMakefile knob, USE_ASCIIDOCTOR, that sets various options in order to\nproduce acceptable output.  For HTML output, XHTML5 was chosen, since\nthe AsciiDoc options also produce XHTML, albeit XHTML 1.1.\n\nAsciidoctor does not have built-in support for the linkgit macro, but it\nis available using the Asciidoctor Extensions Lab.  Add a macro to\nenable the use of this extension if it is available.  Without it, the\nlinkgit macros are emitted into the output.\n\nSigned-off-by: brian m. carlson <sandals@crustytoothpaste.net>\nSigned-off-by: Junio C Hamano <gitster@pobox.com>","distinct":false,"url":"https://api.github.com/repos/peff/git/commits/ec3366eb52caad29e4cfb0a0afb605c450ad5a39"},{"sha":"73c727d69f47572bf7f21fa31831f9a3fdad944c","author":{"name":"Nguyễn Thái Ngọc Duy","email":"d0e3b15a74ff6c70e81434a55b9c843230dc3715@gmail.com"},"message":"log --graph: customize the graph lines with config log.graphColors\n\nIf you have a 256 colors terminal (or one with true color support), then\nthe predefined 12 colors seem limited. On the other hand, you don't want\nto draw graph lines with every single color in this mode because the two\ncolors could look extremely similar. This option allows you to hand pick\nthe colors you want.\n\nEven with standard terminal, if your background color is neither black\nor white, then the graph line may match your background and become\nhidden. You can exclude your background color (or simply the colors you\nhate) with this.\n\nSigned-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>\nSigned-off-by: Junio C Hamano <gitster@pobox.com>","distinct":false,"url":"https://api.github.com/repos/peff/git/commits/73c727d69f47572bf7f21fa31831f9a3fdad944c"},{"sha":"3d415425c7b6ca0d2243a4589672369e7a02fc2c","author":{"name":"Stefan Beller","email":"75e5af3a5fc6e432c184f339c5c73c118a246be6@google.com"},"message":"unpack-trees: support super-prefix option\n\nIn the future we want to support working tree operations within submodules,\ne.g. \"git checkout --recurse-submodules\", which will update the submodule\nto the commit as recorded in its superproject. In the submodule the\nunpack-tree operation is carried out as usual, but the reporting to the\nuser needs to prefix any path with the superproject. The mechanism for\nthis is the super-prefix. (see 74866d757, git: make super-prefix option)\n\nAdd support for the super-prefix option for commands that unpack trees\nby wrapping any path output in unpacking trees in the newly introduced\nsuper_prefixed function. This new function prefixes any path with the\nsuper-prefix if there is one.  Assuming the submodule case doesn't happen\nin the majority of the cases, we'd want to have a fast behavior for no\nsuper prefix, i.e. no reallocation/copying, but just returning path.\n\nAnother aspect of introducing the `super_prefixed` function is to consider\nwho owns the memory and if this is the right place where the path gets\nmodified. As the super prefix ought to change the output behavior only and\nnot the actual unpack tree part, it is fine to be that late in the line.\nAs we get passed in 'const char *path', we cannot change the path itself,\nwhich means in case of a super prefix we have to copy over the path.\nWe need two static buffers in that function as the error messages\ncontain at most two paths.\n\nFor testing purposes enable it in read-tree, which has no output\nof paths other than an unpack-trees.c. These are all converted in\nthis patch.\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/3d415425c7b6ca0d2243a4589672369e7a02fc2c"},{"sha":"ed21e30fef3609602481ba3630ccec636d459a21","author":{"name":"Johannes Schindelin","email":"c714eff280a95c3e5bbcc9303c4499eebb0d49aa@gmx.de"},"message":"relink: retire the command\n\nBack in the olden days, when all objects were loose and rubber boots were\nmade out of wood, it made sense to try to share (immutable) objects\nbetween repositories.\n\nEver since the arrival of pack files, it is but an anachronism.\n\nLet's move the script to the contrib/examples/ directory and no longer\noffer it.\n\nSigned-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>\nSigned-off-by: Junio C Hamano <gitster@pobox.com>","distinct":false,"url":"https://api.github.com/repos/peff/git/commits/ed21e30fef3609602481ba3630ccec636d459a21"},{"sha":"e0ae5b67a804463277ab7398f8d7557133e2c3db","author":{"name":"Junio C Hamano","email":"3228067b6039a0d99bddaf967dafdecd5cc61600@pobox.com"},"message":"relink: really remove the command\n\nThe files in contrib/examples are meant to illustrate \"you could\ncombine plumbing commands to implement something like these\"; this\nis an opposite and is an example of what not to do, e.g. accessing\nthe object store directly bypassing Git.\n\nRemove it.\n\nSuggested-by: Jeff King <peff@peff.net>\nSigned-off-by: Junio C Hamano <gitster@pobox.com>","distinct":false,"url":"https://api.github.com/repos/peff/git/commits/e0ae5b67a804463277ab7398f8d7557133e2c3db"},{"sha":"40d96325143ae04cb3f645ac96f6413d1f641b9b","author":{"name":"Stefan Beller","email":"75e5af3a5fc6e432c184f339c5c73c118a246be6@google.com"},"message":"setup: add gentle version of resolve_git_dir\n\nThis follows a93bedada (setup: add gentle version of read_gitfile,\n2015-06-09), and assumes the same reasoning. resolve_git_dir is unsuited\nfor speculative calls, so we want to use the gentle version to find out\nabout potential errors.\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/40d96325143ae04cb3f645ac96f6413d1f641b9b"},{"sha":"5f29433f1ca1efc35d546a056200d923e86e3fca","author":{"name":"Stefan Beller","email":"75e5af3a5fc6e432c184f339c5c73c118a246be6@google.com"},"message":"cache.h: expose the dying procedure for reading gitlinks\n\nIn a later patch we want to react to only a subset of errors, defaulting\nthe rest to die as usual. Separate the block that takes care of dying\ninto its own function so we have easy access to it.\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/5f29433f1ca1efc35d546a056200d923e86e3fca"}]}
{"actor":{"display_login":"peff"}}