GitReleaseNotes
GitReleaseNotes copied to clipboard
Fail when there is more than one remote
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.
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/GitTools/GitReleaseNotes/issues/92.
It make sense. It would be nice if it was a parameter.
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/GitTools/GitReleaseNotes/issues/92#issuecomment-145185401.