)]}'
{"pegleg/engine/util/git.py":[{"author":{"_account_id":23186,"name":"Felipe Monteiro","email":"felipe.carneiro.monteiro@gmail.com","username":"felipe.monteiro"},"change_message_id":"30f8fd18ddb6a92638cc3c9a36fae46f250a0bdc","unresolved":false,"context_lines":[{"line_number":106,"context_line":"                     \u0027tracked/untracked changes\u0027,"},{"line_number":107,"context_line":"                     repo_name(repo_url))"},{"line_number":108,"context_line":"            repo.git.add(all\u003dTrue)"},{"line_number":109,"context_line":"            # TODO(roman_g): change to repo.git.stash when Git v2.22.0 is"},{"line_number":110,"context_line":"            # widely available in distributives"},{"line_number":111,"context_line":"            repo.git.reset(\u0027--hard\u0027)"},{"line_number":112,"context_line":""},{"line_number":113,"context_line":"        try:"},{"line_number":114,"context_line":"            # Check whether the ref exists locally."}],"source_content_type":"text/x-python","patch_set":1,"id":"7faddb67_897092a7","line":111,"range":{"start_line":109,"start_character":0,"end_line":111,"end_character":36},"updated":"2019-07-09 13:18:58.000000000","message":"I remember doing this and the feedback was that, if there are uncommitted/untracked changes, that this wipes out those local changes, in the case where an operator or DE or someone else is working through some changes locally. This behavior IMO should only be introduced via a CLI flag, like --force-reset or something. Or else it should just raise an exception here instead, telling the user to first manually stash or commit their changes prior to running the Pegleg command again.","commit_id":"043e168fdfc25ca9405f847ba27caece87042cf8"},{"author":{"_account_id":28208,"name":"Roman Gorshunov","email":"roman.gorshunov@att.com","username":"gorshunovr"},"change_message_id":"0cc1397387a5f579274d9219df045af0a2dd7d3e","unresolved":false,"context_lines":[{"line_number":106,"context_line":"                     \u0027tracked/untracked changes\u0027,"},{"line_number":107,"context_line":"                     repo_name(repo_url))"},{"line_number":108,"context_line":"            repo.git.add(all\u003dTrue)"},{"line_number":109,"context_line":"            # TODO(roman_g): change to repo.git.stash when Git v2.22.0 is"},{"line_number":110,"context_line":"            # widely available in distributives"},{"line_number":111,"context_line":"            repo.git.reset(\u0027--hard\u0027)"},{"line_number":112,"context_line":""},{"line_number":113,"context_line":"        try:"},{"line_number":114,"context_line":"            # Check whether the ref exists locally."}],"source_content_type":"text/x-python","patch_set":1,"id":"7faddb67_caedee8b","line":111,"range":{"start_line":109,"start_character":0,"end_line":111,"end_character":36},"in_reply_to":"7faddb67_897092a7","updated":"2019-07-11 14:55:26.000000000","message":"With the encryption, repo seems to be always dirty. I didn\u0027t think of a good solution to it yet. Would be nice to dicsuss on IRC or some of design calls.","commit_id":"043e168fdfc25ca9405f847ba27caece87042cf8"}]}
