Skip to content
This repository was archived by the owner on Sep 19, 2024. It is now read-only.

Not by way of matching git error messages #555

Closed
wants to merge 1 commit into from
Closed

Not by way of matching git error messages #555

wants to merge 1 commit into from

Conversation

izchen
Copy link

@izchen izchen commented Jul 8, 2022

Before this PR

The error message output text is different for different language settings and different distributions of git. So maybe we shouldn't use git's error output in logic.

Related issues: #550

https://github.com/git/git/tree/master/po#contributing-to-an-existing-translation

After this PR

This code works as expected in every language configuration and git distribution

Possible downsides?

The behavior before and after the PR is consistent for existing versions of git. But this seems to depend on git's internal implementation, don't know if there is a better way.

@palantirtech
Copy link
Member

Thanks for your interest in palantir/gradle-revapi, @izchen! Before we can accept your pull request, you need to sign our contributor license agreement - just visit https://cla.palantir.com/ and follow the instructions. Once you sign, I'll automatically update this pull request.

@changelog-app
Copy link

changelog-app bot commented Jul 8, 2022

Generate changelog in changelog/@unreleased

Type
See change types. Select one:

  • Feature
  • Improvement
  • Fix
  • Break
  • Deprecation
  • Manual task
  • Migration

Description

Not by way of matching git error messages

Before this PR

The error message output text is different for different language settings and different distributions of git. So maybe we shouldn't use git's error output in logic.

Related issues: #550

https://github.com/git/git/tree/master/po#contributing-to-an-existing-translation

After this PR

This code works as expected in every language configuration and git distribution

Possible downsides?

The behavior before and after the PR is consistent for existing versions of git. But this seems to depend on git's internal implementation, don't know if there is a better way.

Check the box to generate changelog(s)

  • Generate changelog entry

@izchen izchen closed this Sep 21, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants