Skip to content

Add Git object information marker to all source files#1081

Merged
shanman190 merged 4 commits intomainfrom
feat/git-object-information
Dec 4, 2025
Merged

Add Git object information marker to all source files#1081
shanman190 merged 4 commits intomainfrom
feat/git-object-information

Conversation

@shanman190
Copy link
Copy Markdown
Contributor

What's changed?

What's your motivation?

Enable tracking of the Git object id, so that we can still generate Git patches when the old content is not available, such as with Quark.

Anything in particular you'd like reviewers to focus on?

N/A

Anyone you would like to review specifically?

Anybody

Have you considered any alternatives or workarounds?

N/A

Any additional context

Checklist

  • I've added unit tests to cover both positive and negative cases
  • I've read and applied the recipe conventions and best practices
  • I've used the IntelliJ IDEA auto-formatter on affected files

@shanman190 shanman190 self-assigned this Nov 26, 2025
@shanman190 shanman190 added the enhancement New feature or request label Nov 26, 2025
@github-project-automation github-project-automation Bot moved this to In Progress in OpenRewrite Nov 26, 2025
@shanman190 shanman190 force-pushed the feat/git-object-information branch from 917dc3f to 9ed9589 Compare December 2, 2025 18:41
@shanman190 shanman190 marked this pull request as ready for review December 2, 2025 18:45
Copy link
Copy Markdown
Member

@timtebeek timtebeek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Based on comparing to already approved

@github-project-automation github-project-automation Bot moved this from In Progress to Ready to Review in OpenRewrite Dec 4, 2025
@shanman190 shanman190 merged commit eb71dd7 into main Dec 4, 2025
2 checks passed
@shanman190 shanman190 deleted the feat/git-object-information branch December 4, 2025 18:52
@github-project-automation github-project-automation Bot moved this from Ready to Review to Done in OpenRewrite Dec 4, 2025
mergify Bot added a commit to robfrank/linklift that referenced this pull request Dec 14, 2025
…4.0 to 6.25.0 [skip ci]

Bumps [org.openrewrite.maven:rewrite-maven-plugin](https://github.com/openrewrite/rewrite-maven-plugin) from 6.24.0 to 6.25.0.
Release notes

*Sourced from [org.openrewrite.maven:rewrite-maven-plugin's releases](https://github.com/openrewrite/rewrite-maven-plugin/releases).*

> 6.25.0
> ------
>
> What's Changed
> --------------
>
> * Duplicate resources by [`@​MBoegers`](https://github.com/MBoegers) in [openrewrite/rewrite-maven-plugin#1079](https://redirect.github.com/openrewrite/rewrite-maven-plugin/pull/1079)
> * chore(ci): bump org.apache.maven.plugins:maven-source-plugin from 3.3.1 to 3.4.0 by [`@​dependabot`](https://github.com/dependabot)[bot] in [openrewrite/rewrite-maven-plugin#1082](https://redirect.github.com/openrewrite/rewrite-maven-plugin/pull/1082)
> * Add Git object information marker to all source files by [`@​shanman190`](https://github.com/shanman190) in [openrewrite/rewrite-maven-plugin#1081](https://redirect.github.com/openrewrite/rewrite-maven-plugin/pull/1081)
>
> New Contributors
> ----------------
>
> * [`@​MBoegers`](https://github.com/MBoegers) made their first contribution in [openrewrite/rewrite-maven-plugin#1079](https://redirect.github.com/openrewrite/rewrite-maven-plugin/pull/1079)
>
> **Full Changelog**: <openrewrite/rewrite-maven-plugin@v6.24.0...v6.25.0>


Commits

* [`83dc9b0`](openrewrite/rewrite-maven-plugin@83dc9b0) [maven-release-plugin] prepare release v6.25.0
* [`2a83dd4`](openrewrite/rewrite-maven-plugin@2a83dd4) Bump rewrite.version property
* [`eb71dd7`](openrewrite/rewrite-maven-plugin@eb71dd7) Add Git object information marker to all source files ([#1081](https://redirect.github.com/openrewrite/rewrite-maven-plugin/issues/1081))
* [`2de54ae`](openrewrite/rewrite-maven-plugin@2de54ae) chore(ci): bump org.apache.maven.plugins:maven-source-plugin ([#1082](https://redirect.github.com/openrewrite/rewrite-maven-plugin/issues/1082))
* [`cecb7bf`](openrewrite/rewrite-maven-plugin@cecb7bf) Use actions/checkout@v6
* [`bb36c3f`](openrewrite/rewrite-maven-plugin@bb36c3f) add resources path to already parsed collection to prevent reparsing ([#1079](https://redirect.github.com/openrewrite/rewrite-maven-plugin/issues/1079))
* [`f1a1d91`](openrewrite/rewrite-maven-plugin@f1a1d91) Bump rewrite.version property
* [`7a0e808`](openrewrite/rewrite-maven-plugin@7a0e808) [maven-release-plugin] prepare for next development iteration
* See full diff in [compare view](openrewrite/rewrite-maven-plugin@v6.24.0...v6.25.0)
  
[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility\_score?dependency-name=org.openrewrite.maven:rewrite-maven-plugin&package-manager=maven&previous-version=6.24.0&new-version=6.25.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
Dependabot commands and options
  
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show  ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants