)]}'
{"functions-common":[{"author":{"_account_id":7118,"name":"Ian Wienand","email":"iwienand@redhat.com","username":"iwienand"},"change_message_id":"04cf53520a24d5716478128fa5c9f391d8a47132","unresolved":false,"context_lines":[{"line_number":555,"context_line":"                git_update_branch $git_ref"},{"line_number":556,"context_line":"            elif [[ -n \"`git show-ref refs/remotes/origin/$git_ref`\" ]]; then"},{"line_number":557,"context_line":"                git_update_remote_branch $git_ref"},{"line_number":558,"context_line":"            elif [[ -z \"`git cat-file -e $git_ref^{commit};`\" ]]; then"},{"line_number":559,"context_line":"                git_update_commit $git_ref"},{"line_number":560,"context_line":"            else"},{"line_number":561,"context_line":"                die $LINENO \"$git_ref is not branch, tag or valid commit\""}],"source_content_type":"application/x-shellscript","patch_set":3,"id":"1a26ad4f_952d5200","line":558,"updated":"2015-11-02 04:42:57.000000000","message":"it seems like this will always output nothing? \n\n -e : Suppress all output\n\nso it seems this should not be string matching","commit_id":"297c4063e18d7236c7193b6b63f3190ab4fd4ab4"},{"author":{"_account_id":17292,"name":"Michal Ptacek","email":"michalx.ptacek@intel.com","username":"mptacekx"},"change_message_id":"dd36d5f26f771a35868ce16ab353e1916c90f1fe","unresolved":false,"context_lines":[{"line_number":555,"context_line":"                git_update_branch $git_ref"},{"line_number":556,"context_line":"            elif [[ -n \"`git show-ref refs/remotes/origin/$git_ref`\" ]]; then"},{"line_number":557,"context_line":"                git_update_remote_branch $git_ref"},{"line_number":558,"context_line":"            elif [[ -z \"`git cat-file -e $git_ref^{commit};`\" ]]; then"},{"line_number":559,"context_line":"                git_update_commit $git_ref"},{"line_number":560,"context_line":"            else"},{"line_number":561,"context_line":"                die $LINENO \"$git_ref is not branch, tag or valid commit\""}],"source_content_type":"application/x-shellscript","patch_set":3,"id":"1a26ad4f_7056725d","line":558,"in_reply_to":"1a26ad4f_952d5200","updated":"2015-11-02 15:27:33.000000000","message":"if not valid commit is specified in git_ref, it will also display following:\n\nfatal: Not a valid object name ....\n\nwe don\u0027t need more output, therefore -e","commit_id":"297c4063e18d7236c7193b6b63f3190ab4fd4ab4"},{"author":{"_account_id":7118,"name":"Ian Wienand","email":"iwienand@redhat.com","username":"iwienand"},"change_message_id":"04cf53520a24d5716478128fa5c9f391d8a47132","unresolved":false,"context_lines":[{"line_number":648,"context_line":"# it will remove untracked files and update repo based on reference commit"},{"line_number":649,"context_line":"function git_update_commit {"},{"line_number":650,"context_line":"    local git_commit\u003d$1"},{"line_number":651,"context_line":"    git checkout -f -B $git_commit"},{"line_number":652,"context_line":"    git clean -d -f # clean untracked files"},{"line_number":653,"context_line":"}"},{"line_number":654,"context_line":""}],"source_content_type":"application/x-shellscript","patch_set":3,"id":"1a26ad4f_55333a62","line":651,"updated":"2015-11-02 04:42:57.000000000","message":"why put it on branch?  when it was originally cloned aboe, it wasn\u0027t on a branch?","commit_id":"297c4063e18d7236c7193b6b63f3190ab4fd4ab4"},{"author":{"_account_id":17292,"name":"Michal Ptacek","email":"michalx.ptacek@intel.com","username":"mptacekx"},"change_message_id":"dd36d5f26f771a35868ce16ab353e1916c90f1fe","unresolved":false,"context_lines":[{"line_number":648,"context_line":"# it will remove untracked files and update repo based on reference commit"},{"line_number":649,"context_line":"function git_update_commit {"},{"line_number":650,"context_line":"    local git_commit\u003d$1"},{"line_number":651,"context_line":"    git checkout -f -B $git_commit"},{"line_number":652,"context_line":"    git clean -d -f # clean untracked files"},{"line_number":653,"context_line":"}"},{"line_number":654,"context_line":""}],"source_content_type":"application/x-shellscript","patch_set":3,"id":"1a26ad4f_bb1dcb63","line":651,"in_reply_to":"1a26ad4f_55333a62","updated":"2015-11-02 15:27:33.000000000","message":"goot catch , thanks !","commit_id":"297c4063e18d7236c7193b6b63f3190ab4fd4ab4"},{"author":{"_account_id":7118,"name":"Ian Wienand","email":"iwienand@redhat.com","username":"iwienand"},"change_message_id":"04cf53520a24d5716478128fa5c9f391d8a47132","unresolved":false,"context_lines":[{"line_number":649,"context_line":"function git_update_commit {"},{"line_number":650,"context_line":"    local git_commit\u003d$1"},{"line_number":651,"context_line":"    git checkout -f -B $git_commit"},{"line_number":652,"context_line":"    git clean -d -f # clean untracked files"},{"line_number":653,"context_line":"}"},{"line_number":654,"context_line":""},{"line_number":655,"context_line":"# OpenStack Functions"}],"source_content_type":"application/x-shellscript","patch_set":3,"id":"1a26ad4f_d5474aba","line":652,"updated":"2015-11-02 04:42:57.000000000","message":"this is probably a better option that the \"find\" we do above?","commit_id":"297c4063e18d7236c7193b6b63f3190ab4fd4ab4"},{"author":{"_account_id":17292,"name":"Michal Ptacek","email":"michalx.ptacek@intel.com","username":"mptacekx"},"change_message_id":"dd36d5f26f771a35868ce16ab353e1916c90f1fe","unresolved":false,"context_lines":[{"line_number":649,"context_line":"function git_update_commit {"},{"line_number":650,"context_line":"    local git_commit\u003d$1"},{"line_number":651,"context_line":"    git checkout -f -B $git_commit"},{"line_number":652,"context_line":"    git clean -d -f # clean untracked files"},{"line_number":653,"context_line":"}"},{"line_number":654,"context_line":""},{"line_number":655,"context_line":"# OpenStack Functions"}],"source_content_type":"application/x-shellscript","patch_set":3,"id":"1a26ad4f_5be27730","line":652,"in_reply_to":"1a26ad4f_d5474aba","updated":"2015-11-02 15:27:33.000000000","message":"correct, it looks to be better.","commit_id":"297c4063e18d7236c7193b6b63f3190ab4fd4ab4"}]}
