Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library
← Back to context

Comment by zahlman

6 months ago

If you `jj undo` a second time, does it redo (undoing the undo), or does it back up another step?

2 comments

zahlman

Reply

steveklabnik  6 months ago

It redos, there's discussion about if and how this should change: https://github.com/jj-vcs/jj/issues/3700

  • stouset  6 months ago

    For background, this is because the `undo` itself is an operation pushed onto the top of the stack. It is a little counterintuitive.

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities