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

Too eager to pick up unrelated files when determining commit message #122

Closed
DarthGandalf opened this issue Feb 15, 2023 · 2 comments
Closed

Comments

@DarthGandalf
Copy link

DarthGandalf commented Feb 15, 2023

somebody at komputer in ~/gentoo/gentoo/games-engines/openmw (osg●●)
$ LC_ALL=C git status
On branch osg
Changes to be committed:
  (use "git restore --staged <file>..." to unstage)
        modified:   ../../dev-games/openscenegraph-openmw/Manifest
        new file:   ../../dev-games/openscenegraph-openmw/openscenegraph-openmw-3.6_p20221115.ebuild
        renamed:    openmw-0.47.0-r1.ebuild -> openmw-0.47.0-r2.ebuild
        modified:   openmw-9999.ebuild

Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
        modified:   ../../dev-games/openscenegraph-openmw/openscenegraph-openmw-3.6_p20221115.ebuild

pkgdev commit wants to include both packages to the commit, and suggests to start the commit message with */*. I tried pkgdev commit ., and it only tries to include openmw*ebuild without ../../dev-games, but still suggests */* in commit message.

pkgdev 0.2.4

@thesamesam
Copy link
Member

You've already staged them, so is it really in the wrong here?

@DarthGandalf
Copy link
Author

DarthGandalf commented Feb 15, 2023

I didn't intentionally stage them, ebump (followed by git mv and pkgdev manifest) did it for me. I was just working on both of them in parallel.

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