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

Getting the deps for a single commit is overly complicated #82

Open
mstefani opened this issue Jan 20, 2019 · 3 comments
Open

Getting the deps for a single commit is overly complicated #82

mstefani opened this issue Jan 20, 2019 · 3 comments
Labels
enhancement UX Improving user experience

Comments

@mstefani
Copy link
Contributor

mstefani commented Jan 20, 2019

I have been using until now git-deps 0.1.0-15-gbd9ed69.
With that git deps commit would get the dependencies just for commit.

That changed with

commit d601e35f6ea42eb6110e3d1449d03f16a1da3f10
Author: Adam Spiers <git@adamspiers.org>
Date:   Thu May 26 00:28:25 2016 +0100

    allow passing a revision range to CLI or web UI

With that git deps commit gets now the dependencies for commit and all older commits.
To get now the deps just for commit one has to use the unwieldy:
git deps commit^..commit

@aspiers
Copy link
Owner

aspiers commented Jan 20, 2019

Yes, it does expect a range now. It's worth noting that you can type

git deps commit^!

which is shorter than

git deps commit^..commit

Having said that, there is a proposal in #67 for making this more user-friendly, but I haven't got around to figuring out how to finish it yet.

@midenok
Copy link

midenok commented Apr 18, 2019

What --recurse option means then? I guess if single commit specified it should work like for single commit, not for -Infinity..commit. Duplicates #90.

@aspiers aspiers added the UX Improving user experience label Apr 3, 2021
@aspiers
Copy link
Owner

aspiers commented Apr 3, 2021

@midenok commented on April 18, 2019 12:30 PM:

What --recurse option means then? I guess if single commit specified it should work like for single commit, not for -Infinity..commit. Duplicates #90.

--recurse is different, because then it recurses through discovered dependencies rather than only analysing the commits mentioned on the CLI.

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

No branches or pull requests

3 participants