stgit icon indicating copy to clipboard operation
stgit copied to clipboard

pop, followed by push should be a no-op

Open smoofra opened this issue 4 years ago • 0 comments

It seems to me that pop, followed immediately by a push, with no changes in between, should be a no-op. It should leave the log in exactly the same state as it was before, because nothing important has changed. Couldn't this be accomplished by simply resetting the log branch to an earlier commit? It would be nice to not have the log cluttered up by operations that just cancel each other out.

smoofra avatar Aug 22 '20 20:08 smoofra