{"push_id":560012631,"size":1,"distinct_size":1,"ref":"refs/heads/tabs-empty-files","head":"b49fbc27dcc1dbc2040f2a0db876196174c910ef","before":"ba89d755c26217a37fe926590e68a2976da4b3e9","commits":[{"sha":"b49fbc27dcc1dbc2040f2a0db876196174c910ef","author":{"email":"4f9c5a5cfa819e47d69719a414c02aa6016a9f54@bbc.co.uk","name":"Robin Murphy"},"message":"Fix indent settings being overridden when saving new empty files\n\n- `merge_utils.py` forces `translate_tabs_to_spaces` to false and later restores it to the user's chosen option\n- When there is no code in the file (a new file), the `merge_code` function returns early _before_ the user's indent preferences have been restored\n- This currently results in `translates_tabs_to_spaces` being forced to `false` when saving any empty Javascript file\n- This change ensures `merge_code` returns _before_ forcing tabs if the file is empty","distinct":true,"url":"https://api.github.com/repos/robinjmurphy/JsFormat/commits/b49fbc27dcc1dbc2040f2a0db876196174c910ef"}]}