Friday, February 21, 2020

Git Tower 4.2

Tobias Günther:

And finally, with version 4 of Tower for Mac, we’ve reached another huge milestone in our mission to make version control with Git easier and more productive for everyone. Why, you ask? Because undoing mistakes in your daily work has now become as easy as pressing CMD+Z!


I don’t understand their version numbers. Version 4.2 was released just 2 days after version 4.1, and the only documented change is a single bug fix.


Update (2020-05-25): Kristian Lumme:

There's a wide gap between implementing a feature as a gimmick and actually making it feel natural, intuitive and solid. In Tower, actions happen asynchronously relative to the UI, so right away, we had the challenge of making sure the undo feature could handle this — for example, repeatedly undoing and redoing some action could not result in something breaking or data being lost.

In order to undo some more complicated actions, we had to save additional data for each step undertaken by the user, so that we would have all the information necessary to get back to the previous state in case the user decided to undo. An example of this occurs with some operations involving the working tree. The working tree is complicated, with many different potential states for files: files can be modified, staged, they can have merge conflicts and so on.

1 Comment RSS · Twitter

That IS strange!!

Leave a Comment