{"ref":"refs/heads/next","commits":[{"author":{"name":"Nguyễn Thái Ngọc Duy","email":"024f400cd820cb2ddbe54c7fecfd01e45f30bb96@gmail.com"},"url":"https://api.github.com/repos/sunny256/git/commits/0de1633783685e9fb1943551217cdda7edbd245b","message":"tree-walk.c: do not leak internal structure in tree_entry_len()\n\ntree_entry_len() does not simply take two random arguments and return\na tree length. The two pointers must point to a tree item structure,\nor struct name_entry. Passing random pointers will return incorrect\nvalue.\n\nForce callers to pass struct name_entry instead of two pointers (with\nhope that they don't manually construct struct name_entry themselves)\n\nSigned-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>\nSigned-off-by: Junio C Hamano <gitster@pobox.com>","sha":"0de1633783685e9fb1943551217cdda7edbd245b"},{"author":{"name":"Junio C Hamano","email":"a6723cc3f76163bf7adb636a73ac3b0ceb3e6b9b@pobox.com"},"url":"https://api.github.com/repos/sunny256/git/commits/5fb8c05f2e5da483898019f7abc0e52e07bc0c50","message":"get_tree_entry(): do not call find_tree_entry() on an empty tree\n\nWe know we will find nothing.\n\nThis incidentally squelches false warning from gcc about potentially\nuninitialized usage of t.entry fields. For an empty tree, it is true that\ninit_tree_desc() does not call decode_tree_entry() and the tree_desc is\nleft uninitialized, but find_tree_entry() only calls tree_entry_extract()\nthat uses the tree_desc while it has more things to read from the tree, so\nthe uninitialized t.entry fields are never used in such a case anyway.\n\nSigned-off-by: Junio C Hamano <gitster@pobox.com>","sha":"5fb8c05f2e5da483898019f7abc0e52e07bc0c50"},{"author":{"name":"Nguyễn Thái Ngọc Duy","email":"024f400cd820cb2ddbe54c7fecfd01e45f30bb96@gmail.com"},"url":"https://api.github.com/repos/sunny256/git/commits/02cb67530e62e77d437cd68b4bb4307ab752b6a0","message":"read_directory_recursive: reduce one indentation level\n\nSigned-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>\nSigned-off-by: Junio C Hamano <gitster@pobox.com>","sha":"02cb67530e62e77d437cd68b4bb4307ab752b6a0"},{"author":{"name":"Nguyễn Thái Ngọc Duy","email":"024f400cd820cb2ddbe54c7fecfd01e45f30bb96@gmail.com"},"url":"https://api.github.com/repos/sunny256/git/commits/d688cf07b15b664a2164c3d92bcb5e8265400a2b","message":"tree_entry_interesting(): give meaningful names to return values\n\nIt is a basic code hygiene to avoid magic constants that are unnamed.\nBesides, this helps extending the value later on for \"interesting, but\ncannot decide if the entry truely matches yet\" (ie. prefix matches)\n\nSigned-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>\nSigned-off-by: Junio C Hamano <gitster@pobox.com>","sha":"d688cf07b15b664a2164c3d92bcb5e8265400a2b"},{"author":{"name":"Nguyễn Thái Ngọc Duy","email":"024f400cd820cb2ddbe54c7fecfd01e45f30bb96@gmail.com"},"url":"https://api.github.com/repos/sunny256/git/commits/9c6bebd14233af291ffb8dde2975b06c76e9ce5f","message":"tree_entry_interesting: make use of local pointer \"item\"\n\nSigned-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>\nSigned-off-by: Junio C Hamano <gitster@pobox.com>","sha":"9c6bebd14233af291ffb8dde2975b06c76e9ce5f"},{"author":{"name":"Junio C Hamano","email":"a6723cc3f76163bf7adb636a73ac3b0ceb3e6b9b@pobox.com"},"url":"https://api.github.com/repos/sunny256/git/commits/ea4f9685cb432caf357ad8af56a91877b6d04663","message":"unpack_object_header_buffer(): clear the size field upon error\n\nThe callers do not use the returned size when the function says\nit did not use any bytes and sets the type to OBJ_BAD, so this\nshould not matter in practice, but it is a good code hygiene\nanyway.\n\nSigned-off-by: Junio C Hamano <gitster@pobox.com>","sha":"ea4f9685cb432caf357ad8af56a91877b6d04663"},{"author":{"name":"Richard Hartmann","email":"a12544d47d939944848ab384f58884ccf594e67d@gmail.com"},"url":"https://api.github.com/repos/sunny256/git/commits/8debf696380cad2283b4cfaea78962b8d5923149","message":"clone: Quote user supplied path in a single quote pair\n\nWithout this patch,\n\n    $ git clone foo .\n\nresults in this:\n\n    Cloning into ....\n    done.\n\nWith it:\n\n    Cloning into '.'...\n    done.\n\nSigned-off-by: Richard Hartmann <richih.mailinglist@gmail.com>\nSigned-off-by: Junio C Hamano <gitster@pobox.com>","sha":"8debf696380cad2283b4cfaea78962b8d5923149"},{"author":{"name":"Junio C Hamano","email":"a6723cc3f76163bf7adb636a73ac3b0ceb3e6b9b@pobox.com"},"url":"https://api.github.com/repos/sunny256/git/commits/a76a326b2af925ab45d2cfffbb6d925763eb6e5d","message":"Merge branch 'rs/maint-estimate-cache-size' into maint\n\n* rs/maint-estimate-cache-size:\n  read-cache.c: fix index memory allocation","sha":"a76a326b2af925ab45d2cfffbb6d925763eb6e5d"},{"author":{"name":"Junio C Hamano","email":"a6723cc3f76163bf7adb636a73ac3b0ceb3e6b9b@pobox.com"},"url":"https://api.github.com/repos/sunny256/git/commits/82bc9f515c93cdb66f87092c7e270b8de112919f","message":"Merge branch 'maint'\n\n* maint:\n  clone: Quote user supplied path in a single quote pair\n  read-cache.c: fix index memory allocation","sha":"82bc9f515c93cdb66f87092c7e270b8de112919f"},{"author":{"name":"Junio C Hamano","email":"a6723cc3f76163bf7adb636a73ac3b0ceb3e6b9b@pobox.com"},"url":"https://api.github.com/repos/sunny256/git/commits/220c0453c12349a8ad4252bcaffbab5a96aeaa31","message":"Merge branch 'js/grep-mutex'\n\n* js/grep-mutex:\n  builtin/grep: simplify lock_and_read_sha1_file()\n  builtin/grep: make lock/unlock into static inline functions\n  git grep: be careful to use mutexes only when they are initialized","sha":"220c0453c12349a8ad4252bcaffbab5a96aeaa31"},{"author":{"name":"Junio C Hamano","email":"a6723cc3f76163bf7adb636a73ac3b0ceb3e6b9b@pobox.com"},"url":"https://api.github.com/repos/sunny256/git/commits/f124fe3061d4da53bad3a03fd2875141e8a7a48e","message":"Merge branch 'rj/gitweb-clean-js'\n\n* rj/gitweb-clean-js:\n  gitweb/Makefile: Remove static/gitweb.js in the clean target","sha":"f124fe3061d4da53bad3a03fd2875141e8a7a48e"},{"author":{"name":"Junio C Hamano","email":"a6723cc3f76163bf7adb636a73ac3b0ceb3e6b9b@pobox.com"},"url":"https://api.github.com/repos/sunny256/git/commits/48015465287eb5a1240786ae5d0eba67903aa43e","message":"Merge branch 'sn/complete-bash-wo-process-subst'\n\n* sn/complete-bash-wo-process-subst:\n  completion: fix issue with process substitution not working on Git for Windows","sha":"48015465287eb5a1240786ae5d0eba67903aa43e"},{"author":{"name":"Junio C Hamano","email":"a6723cc3f76163bf7adb636a73ac3b0ceb3e6b9b@pobox.com"},"url":"https://api.github.com/repos/sunny256/git/commits/e8e1c29021da446d0c50573ef9619bf74f515c20","message":"Update draft release notes to 1.7.8\n\nGetting very close to -rc0\n\nSigned-off-by: Junio C Hamano <gitster@pobox.com>","sha":"e8e1c29021da446d0c50573ef9619bf74f515c20"},{"author":{"name":"Junio C Hamano","email":"a6723cc3f76163bf7adb636a73ac3b0ceb3e6b9b@pobox.com"},"url":"https://api.github.com/repos/sunny256/git/commits/ff73a2ef016599838c3044088da6bfa960c3035e","message":"Merge branch 'master' into next\n\n* master:\n  Update draft release notes to 1.7.8\n  clone: Quote user supplied path in a single quote pair","sha":"ff73a2ef016599838c3044088da6bfa960c3035e"},{"author":{"name":"Junio C Hamano","email":"a6723cc3f76163bf7adb636a73ac3b0ceb3e6b9b@pobox.com"},"url":"https://api.github.com/repos/sunny256/git/commits/4b61df7412b6ce60b0b8460bf483393e114f999a","message":"Merge branch 'nd/pretty-commit-log-message' into next\n\n* nd/pretty-commit-log-message:\n  pretty.c: use original commit message if reencoding fails\n  pretty.c: free get_header() return value","sha":"4b61df7412b6ce60b0b8460bf483393e114f999a"},{"author":{"name":"Junio C Hamano","email":"a6723cc3f76163bf7adb636a73ac3b0ceb3e6b9b@pobox.com"},"url":"https://api.github.com/repos/sunny256/git/commits/2e4acd6fbea90f4c984ac049951a86e2aa1c334d","message":"Merge branch 'rs/allocate-cache-entry-individually' into next\n\n* rs/allocate-cache-entry-individually:\n  cache.h: put single NUL at end of struct cache_entry\n  read-cache.c: allocate index entries individually\n\nConflicts:\n\tread-cache.c","sha":"2e4acd6fbea90f4c984ac049951a86e2aa1c334d"},{"author":{"name":"Junio C Hamano","email":"a6723cc3f76163bf7adb636a73ac3b0ceb3e6b9b@pobox.com"},"url":"https://api.github.com/repos/sunny256/git/commits/fa5289878ad6c1b040b06e16cbc493772dea24e1","message":"Merge branch 'dm/pack-objects-update' into next\n\n* dm/pack-objects-update:\n  pack-objects: don't traverse objects unnecessarily\n  pack-objects: rewrite add_descendants_to_write_order() iteratively\n  pack-objects: use unsigned int for counter and offset values\n  pack-objects: mark add_to_write_order() as inline","sha":"fa5289878ad6c1b040b06e16cbc493772dea24e1"},{"author":{"name":"Sebastian Schuberth","email":"77397652b38ec60b50e56236b813774ce842bcdf@gmail.com"},"url":"https://api.github.com/repos/sunny256/git/commits/2564aa48ce007ad265c0d31a7cb7513239447d2b","message":"blame.c: Properly initialize strbuf after calling, textconv_object()\n\nFor a plain string where only the length is known, strbuf.alloc needs to\nbe initialized to the length. Otherwise strbuf.alloc is 0 and a later\ncall to strbuf_setlen() will fail.\n\nThis bug surfaced when calling git blame under Windows on a *.doc file.\nThe *.doc file is converted to plain text by antiword via the textconv\nmechanism. However, the plain text returned by antiword contains DOS line\nendings instead of Unix line endings which triggered the strbuf_setlen()\nwhich previous to this patch failed.\n\nSigned-off-by: Sebastian Schuberth <sschuberth@gmail.com>\nSigned-off-by: Junio C Hamano <gitster@pobox.com>","sha":"2564aa48ce007ad265c0d31a7cb7513239447d2b"},{"author":{"name":"Junio C Hamano","email":"a6723cc3f76163bf7adb636a73ac3b0ceb3e6b9b@pobox.com"},"url":"https://api.github.com/repos/sunny256/git/commits/55e7c0aaa1b2c00d147b1b4b1aa88a71d90dacf4","message":"(squash) test for previous\n\nSigned-off-by: Junio C Hamano <gitster@pobox.com>","sha":"55e7c0aaa1b2c00d147b1b4b1aa88a71d90dacf4"},{"author":{"name":"Junio C Hamano","email":"a6723cc3f76163bf7adb636a73ac3b0ceb3e6b9b@pobox.com"},"url":"https://api.github.com/repos/sunny256/git/commits/2527a49a5c76e4269d28e410ef11c6c243f1abcb","message":"Merge branch 'nd/misc-cleanups' into next\n\n* nd/misc-cleanups:\n  unpack_object_header_buffer(): clear the size field upon error\n  tree_entry_interesting: make use of local pointer \"item\"\n  tree_entry_interesting(): give meaningful names to return values\n  read_directory_recursive: reduce one indentation level\n  get_tree_entry(): do not call find_tree_entry() on an empty tree\n  tree-walk.c: do not leak internal structure in tree_entry_len()","sha":"2527a49a5c76e4269d28e410ef11c6c243f1abcb"}],"head":"bcc18e3fb8332674243d33f311668ecfebf0ccb3","size":28,"push_id":48209530}