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

New property that indicates whether the current commit is also in remote repro #20

Open
TheSnoozer opened this issue Apr 10, 2015 · 0 comments

Comments

@TheSnoozer
Copy link
Contributor

Hi,
I would like to have an additional property that indicates whether the current commit is also in remote repro (aka. pushed to origin).

With the native git it should be manageable to extract such information. However, i'm not sure if it's possible with the jgit-implementation.

The backgrund behind this issue is:
I currently use the maven-scm-plugin to create a tag of the version which had been deployed. Unfortunately sometimes a push before the deploy is missing. This can result in a mess and I just would like to prevent this.
(I currently only have a prevention if the repository is dirty)

Before I start digging around the internet and spend some time on this I wanted to check if this someone else could use/need.

EDIT 13.07:
First search:
https://stackoverflow.com/questions/13446842/how-do-i-do-git-push-with-jgit
https://www.eclipse.org/forums/index.php/t/280339/
https://stackoverflow.com/questions/3080509/list-git-commits-not-pushed-to-the-origin-yet
https://stackoverflow.com/questions/2016901/viewing-unpushed-git-commits

@TheSnoozer TheSnoozer transferred this issue from git-commit-id/git-commit-id-maven-plugin Apr 12, 2023
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

1 participant