Skip to content

Clean up stashing control flow #7607

Closed
Closed

Description

@iAmWillShepherd

I'm not a fan of this function, _checkoutBranch in its current form because it's doing too much: checking out a branch, asking to stash, stashing changes on current branch, popping transient stash entry. I think it's worthing thinking about how to split this logic up so that it's clearer, but I don't think this PR is the place for that. So if you're reviewing and think this logic is complex, know that I likely agree with you, but I think it's mostly fine for now since it's all grouped together behind a check for enableStashing

Originally posted by @iAmWillShepherd in #7474

Activity

  1. added
    tech-debt
    epic:stashing
    on May 22, 2019
  2. outofambit commented on Aug 3, 2019

    @outofambit
    Contributor

    closing this issue in favor of the two more specific refactors outlined in #7609 and #7617

  3. jayzho080 commented on Aug 3, 2019

    @jayzho080
  4. jayzho080 commented on Aug 3, 2019

    @jayzho080
  5. jayzho080 commented on Aug 3, 2019

    @jayzho080
  6. temporarily blocked jayzho080on Aug 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    epic:stashingtech-debt

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions