Skip to content

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

Open
@TheSnoozer

Description

@TheSnoozer

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions