{"push_id":1365330817,"size":150,"distinct_size":0,"ref":"refs/heads/master","head":"659889482ac63411daea38b2c3d127842ea04e4d","before":"0cf36115dce7438a0eafad54a81cc57175e8fb54","commits":[{"sha":"b5f62ebea55a07dbd9f68f33f5efbd0437946220","author":{"name":"Nguyễn Thái Ngọc Duy","email":"d0e3b15a74ff6c70e81434a55b9c843230dc3715@gmail.com"},"message":"remote-curl.c: convert fetch_git() to use argv_array\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/PKRoma/git/commits/b5f62ebea55a07dbd9f68f33f5efbd0437946220"},{"sha":"9318c5dd140b55c0384843c57b4b24a378cd5068","author":{"name":"Nguyễn Thái Ngọc Duy","email":"d0e3b15a74ff6c70e81434a55b9c843230dc3715@gmail.com"},"message":"transport-helper.c: refactor set_helper_option()\n\nFor now we can handle two types, string and boolean, in\nset_helper_option(). Later on we'll add string_list support, which does\nnot fit well. The new function strbuf_set_helper_option() can be reused\nfor a separate function that handles string-list.\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/PKRoma/git/commits/9318c5dd140b55c0384843c57b4b24a378cd5068"},{"sha":"e8e44de7874f6ea7cdf35b526f790cc7fa8f34e6","author":{"name":"Nguyễn Thái Ngọc Duy","email":"d0e3b15a74ff6c70e81434a55b9c843230dc3715@gmail.com"},"message":"upload-pack: move shallow deepen code out of receive_needs()\n\nThis is a prep step for further refactoring. Besides reindentation and\ns/shallows\\./shallows->/g, no other changes are expected.\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/PKRoma/git/commits/e8e44de7874f6ea7cdf35b526f790cc7fa8f34e6"},{"sha":"5c24cdea1e33c72bfed4af25a363eb5ceae11199","author":{"name":"Nguyễn Thái Ngọc Duy","email":"d0e3b15a74ff6c70e81434a55b9c843230dc3715@gmail.com"},"message":"upload-pack: move \"shallow\" sending code out of deepen()\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/PKRoma/git/commits/5c24cdea1e33c72bfed4af25a363eb5ceae11199"},{"sha":"ef635b9056e23c06b4b5bcb4de294c1f6d9dda24","author":{"name":"Nguyễn Thái Ngọc Duy","email":"d0e3b15a74ff6c70e81434a55b9c843230dc3715@gmail.com"},"message":"upload-pack: remove unused variable \"backup\"\n\nAfter the last patch, \"result\" and \"backup\" are the same. \"result\" used\nto move, but the movement is now contained in send_shallow(). Delete\nthis redundant variable.\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/PKRoma/git/commits/ef635b9056e23c06b4b5bcb4de294c1f6d9dda24"},{"sha":"873700c92e01dbd5ccbe5d36878bb96d1bef3c36","author":{"name":"Nguyễn Thái Ngọc Duy","email":"d0e3b15a74ff6c70e81434a55b9c843230dc3715@gmail.com"},"message":"upload-pack: move \"unshallow\" sending code out of deepen()\n\nAlso add some more comments in this code because it takes too long to\nunderstand what it does (to me, who should be familiar enough to\nunderstand this code well!)\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/PKRoma/git/commits/873700c92e01dbd5ccbe5d36878bb96d1bef3c36"},{"sha":"8bf3b75841ead5a796b62a54534b5a203adffae4","author":{"name":"Nguyễn Thái Ngọc Duy","email":"d0e3b15a74ff6c70e81434a55b9c843230dc3715@gmail.com"},"message":"upload-pack: use skip_prefix() instead of starts_with()\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/PKRoma/git/commits/8bf3b75841ead5a796b62a54534b5a203adffae4"},{"sha":"6e414e30fd12460d7a7ba3ce67d20aa82a41a737","author":{"name":"Nguyễn Thái Ngọc Duy","email":"d0e3b15a74ff6c70e81434a55b9c843230dc3715@gmail.com"},"message":"upload-pack: tighten number parsing at \"deepen\" lines\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/PKRoma/git/commits/6e414e30fd12460d7a7ba3ce67d20aa82a41a737"},{"sha":"7fcbd37f9c1b7413b408d0223344d070613777ac","author":{"name":"Nguyễn Thái Ngọc Duy","email":"d0e3b15a74ff6c70e81434a55b9c843230dc3715@gmail.com"},"message":"upload-pack: make check_non_tip() clean things up on error\n\nOn error check_non_tip() will die and not closing file descriptors is no\nbig deal. The next patch will split the majority of this function out\nfor reuse in other cases, where die() may not be the only outcome. Same\nstory for popping SIGPIPE out of the signal chain. So let's make sure we\nclean things up properly first.\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/PKRoma/git/commits/7fcbd37f9c1b7413b408d0223344d070613777ac"},{"sha":"3f0f6624f554a663ca0c83fd80f769dc9cef93e2","author":{"name":"Nguyễn Thái Ngọc Duy","email":"d0e3b15a74ff6c70e81434a55b9c843230dc3715@gmail.com"},"message":"upload-pack: move rev-list code out of check_non_tip()\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/PKRoma/git/commits/3f0f6624f554a663ca0c83fd80f769dc9cef93e2"},{"sha":"45a3e52641fd58c2ebaba2fd2a03308fd6ab8a0a","author":{"name":"Nguyễn Thái Ngọc Duy","email":"d0e3b15a74ff6c70e81434a55b9c843230dc3715@gmail.com"},"message":"fetch-pack: use skip_prefix() instead of starts_with()\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/PKRoma/git/commits/45a3e52641fd58c2ebaba2fd2a03308fd6ab8a0a"},{"sha":"0d789a5bc1aeef2d6d0d3120efc4b85766a0a327","author":{"name":"Nguyễn Thái Ngọc Duy","email":"d0e3b15a74ff6c70e81434a55b9c843230dc3715@gmail.com"},"message":"fetch-pack: use a common function for verbose printing\n\nThis reduces the number of \"if (verbose)\" which makes it a bit easier\nto read imo. It also makes it easier to redirect all these printouts,\nto a file for example.\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/PKRoma/git/commits/0d789a5bc1aeef2d6d0d3120efc4b85766a0a327"},{"sha":"1dd73e20d72921fe81a881a9f6cff6d02eca8146","author":{"name":"Nguyễn Thái Ngọc Duy","email":"d0e3b15a74ff6c70e81434a55b9c843230dc3715@gmail.com"},"message":"fetch-pack.c: mark strings for translating\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/PKRoma/git/commits/1dd73e20d72921fe81a881a9f6cff6d02eca8146"},{"sha":"79891cb90a4e5b2680308ba2b757a218b9aaa14c","author":{"name":"Nguyễn Thái Ngọc Duy","email":"d0e3b15a74ff6c70e81434a55b9c843230dc3715@gmail.com"},"message":"fetch-pack: use a separate flag for fetch in deepening mode\n\nThe shallow repo could be deepened or shortened when then user gives\n--depth. But in future that won't be the only way to deepen/shorten a\nrepo. Stop relying on args->depth in this mode. Future deepening\nmethods can simply set this flag on instead of updating all these if\nexpressions.\n\nThe new name \"deepen\" was chosen after the command to define shallow\nboundary in pack protocol. New commands also follow this tradition.\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/PKRoma/git/commits/79891cb90a4e5b2680308ba2b757a218b9aaa14c"},{"sha":"3d9ff4d736475bc74ed249c579b3ad7322e22b85","author":{"name":"Nguyễn Thái Ngọc Duy","email":"d0e3b15a74ff6c70e81434a55b9c843230dc3715@gmail.com"},"message":"shallow.c: implement a generic shallow boundary finder based on rev-list\n\nInstead of a custom commit walker like get_shallow_commits(), this new\nfunction uses rev-list to mark NOT_SHALLOW to all reachable commits,\nexcept borders. The definition of reachable is to be defined by the\nprotocol later. This makes it more flexible to define shallow boundary.\n\nThe way we find border is paint all reachable commits NOT_SHALLOW.  Any\nof them that \"touches\" commits without NOT_SHALLOW flag are considered\nshallow (e.g. zero parents via grafting mechanism). Shallow commits and\ntheir true parents are all marked SHALLOW. Then NOT_SHALLOW is removed\nfrom shallow commits at the end.\n\nThere is an interesting observation. With a generic walker, we can\nproduce all kinds of shallow cutting. In the following graph, every\ncommit but \"x\" is reachable. \"b\" is a parent of \"a\".\n\n           x -- a -- o\n          /    /\n    x -- c -- b -- o\n\nAfter this function is run, \"a\" and \"c\" are both considered shallow\ncommits. After grafting occurs at the client side, what we see is\n\n                a -- o\n                    /\n         c -- b -- o\n\nNotice that because of grafting, \"a\" has zero parents, so \"b\" is no\nlonger a parent of \"a\".\n\nThis is unfortunate and may be solved in two ways. The first is change\nthe way shallow grafting works and keep \"a -- b\" connection if \"b\"\nexists and always ends at shallow commits (iow, no loose ends). This is\nhard to detect, or at least not cheap to do.\n\nThe second way is mark one \"x\" as shallow commit instead of \"a\" and\nproduce this graph at client side:\n\n           x -- a -- o\n               /    /\n         c -- b -- o\n\nMore commits, but simpler grafting rules.\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/PKRoma/git/commits/3d9ff4d736475bc74ed249c579b3ad7322e22b85"},{"sha":"569e554be9cb88047d9f2752750e0c260241f446","author":{"name":"Nguyễn Thái Ngọc Duy","email":"d0e3b15a74ff6c70e81434a55b9c843230dc3715@gmail.com"},"message":"upload-pack: add deepen-since to cut shallow repos based on time\n\nThis should allow the user to say \"create a shallow clone containing the\nwork from last year\" (once the client side is fixed up, of course).\n\nIn theory deepen-since and deepen (aka --depth) can be used together to\ndraw the shallow boundary (whether it's intersection or union is up to\ndiscussion, but if rev-list is used, it's likely intersection). However,\nbecause deepen goes with a custom commit walker, we can't mix the two\nyet.\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/PKRoma/git/commits/569e554be9cb88047d9f2752750e0c260241f446"},{"sha":"508ea88226bbdd25ac0aac4f9c8a65a2c3b5be5c","author":{"name":"Nguyễn Thái Ngọc Duy","email":"d0e3b15a74ff6c70e81434a55b9c843230dc3715@gmail.com"},"message":"fetch: define shallow boundary with --shallow-since\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/PKRoma/git/commits/508ea88226bbdd25ac0aac4f9c8a65a2c3b5be5c"},{"sha":"994c2aaf31e1f8e8e69f86324e585620fee68c82","author":{"name":"Nguyễn Thái Ngọc Duy","email":"d0e3b15a74ff6c70e81434a55b9c843230dc3715@gmail.com"},"message":"clone: define shallow clone boundary based on time with --shallow-since\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/PKRoma/git/commits/994c2aaf31e1f8e8e69f86324e585620fee68c82"},{"sha":"6d43a0cefd769c650bd114f41434ef5a7aa998e7","author":{"name":"Nguyễn Thái Ngọc Duy","email":"d0e3b15a74ff6c70e81434a55b9c843230dc3715@gmail.com"},"message":"t5500, t5539: tests for shallow depth since a specific date\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/PKRoma/git/commits/6d43a0cefd769c650bd114f41434ef5a7aa998e7"},{"sha":"41da7111f2c825ee0dcd319ec246a84b5ca0fd21","author":{"name":"Nguyễn Thái Ngọc Duy","email":"d0e3b15a74ff6c70e81434a55b9c843230dc3715@gmail.com"},"message":"refs: add expand_ref()\n\nThis is basically dwim_ref() without @{} support. To be used on the\nserver side where we want to expand abbreviated to full ref names and\nnothing else. The first user is \"git clone/fetch --shallow-exclude\".\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/PKRoma/git/commits/41da7111f2c825ee0dcd319ec246a84b5ca0fd21"}]}
{"actor":{"display_login":"PKRoma"}}