Skip to content
This repository has been archived by the owner on Sep 20, 2022. It is now read-only.

Fail when there is more than one remote #92

Open
giggio opened this issue Oct 2, 2015 · 3 comments
Open

Fail when there is more than one remote #92

giggio opened this issue Oct 2, 2015 · 3 comments

Comments

@giggio
Copy link

giggio commented Oct 2, 2015

I am running:

GitReleaseNotes.exe .  /OutputFile ReleaseNotes.md /AllTags /Verbose

I have 3 remotes:

C:\proj\code-cracker> git remote -v
code-cracker    https://github.com/code-cracker/code-cracker.git (fetch)
code-cracker    https://github.com/code-cracker/code-cracker.git (push)
origin  https://github.com/giggio/code-cracker.git (fetch)
origin  https://github.com/giggio/code-cracker.git (push)
vso     https://giggio.visualstudio.com/DefaultCollection/_git/CodeCracker (fetch)
vso     https://giggio.visualstudio.com/DefaultCollection/_git/CodeCracker (push)

The resulting file contains only one pull request, like this:

 - [#1](https://github.com/giggio/code-cracker/pull/1) - Analyze and fix for use of StringBuilder. contributed by Stephany Henrique Batista ([StephanyB
atista](https://github.com/StephanyBatista))

Commits: fb6328725c...5638cd16b6

If I clone the project from the correct remote (the one named code-cracker/code-cracker above) the release notes are generated as expected.

@JakeGinnivan
Copy link
Contributor

It looks for upstream, then origin as a convention.

Sent from my Windows Phone


From: Giovanni Bassimailto:[email protected]
Sent: ‎3/‎10/‎2015 7:17 AM
To: GitTools/GitReleaseNotesmailto:[email protected]
Subject: [GitReleaseNotes] Fail when there is more than one remote (#92)

I am running:

GitReleaseNotes.exe . /OutputFile ReleaseNotes.md /AllTags /Verbose

I have 3 remotes:

C:\proj\code-cracker> git remote -v
code-cracker https://github.com/code-cracker/code-cracker.git (fetch)
code-cracker https://github.com/code-cracker/code-cracker.git (push)
origin https://github.com/giggio/code-cracker.git (fetch)
origin https://github.com/giggio/code-cracker.git (push)
vso https://giggio.visualstudio.com/DefaultCollection/_git/CodeCracker (fetch)
vso https://giggio.visualstudio.com/DefaultCollection/_git/CodeCracker (push)

The resulting file contains only one pull request, like this:

  • #1 - Analyze and fix for use of StringBuilder. contributed by Stephany Henrique Batista (StephanyB
    atista
    )

Commits: fb6328725c...5638cd16b6

If I clone the project from the correct remote (the one named code-cracker/code-cracker above) the release notes are generated as expected.


Reply to this email directly or view it on GitHubhttps://github.com//issues/92.

@giggio
Copy link
Author

giggio commented Oct 2, 2015

It make sense. It would be nice if it was a parameter.

@JakeGinnivan
Copy link
Contributor

Yep, agreed!

Sent from my Windows Phone


From: Giovanni Bassimailto:[email protected]
Sent: ‎3/‎10/‎2015 7:57 AM
To: GitTools/GitReleaseNotesmailto:[email protected]
Cc: Jake Ginnivanmailto:[email protected]
Subject: Re: [GitReleaseNotes] Fail when there is more than one remote (#92)

It make sense. It would be nice if it was a parameter.


Reply to this email directly or view it on GitHubhttps://github.com//issues/92#issuecomment-145185401.

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

No branches or pull requests

2 participants