Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request] Apply diff-routes between git branches #1

Open
fidalgo opened this issue Feb 9, 2022 · 1 comment
Open

[Feature request] Apply diff-routes between git branches #1

fidalgo opened this issue Feb 9, 2022 · 1 comment

Comments

@fidalgo
Copy link

fidalgo commented Feb 9, 2022

Hi!
First of all thanks for this nifty gem! I would like to propose a new feature:
The ability to use diff-routes between branches, ex:

diff-routes main develop

and it would output the diff based on the routes present on each branch.

I understand this will probably change how the gem works and will probably imply a big change in the inner implementation of the gem.

@styd
Copy link
Owner

styd commented Feb 10, 2022

Hi, @fidalgo !
Thanks for using this gem.

Technically it's possible to implement the feature, but I think that requires quite a lot of work. I'm open to anyone who're willing and has free time to do it.

But I guess currently you can achieve the same goal with a few more steps:

  1. Open terminal.
  2. Navigate to Rails root.
  3. On bash, git checkout main.
  4. On bash, rails console.
  5. On Rails console, .git branch develop
  6. On Rails console, diff-routes, you should see the diffs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants