Skip to content

Comments

fix(scripts/lsync): fix show diff output if changes exist#51493

Merged
k8s-ci-robot merged 1 commit intokubernetes:mainfrom
samzong:fix/lsync-diff_oupt
Jul 3, 2025
Merged

fix(scripts/lsync): fix show diff output if changes exist#51493
k8s-ci-robot merged 1 commit intokubernetes:mainfrom
samzong:fix/lsync-diff_oupt

Conversation

@samzong
Copy link
Member

@samzong samzong commented Jul 3, 2025

Description

This PR fixes the issue of git diff output assigned to diff_output not displaying automatically. Previously required explicit echo, now switched to printf for proper formatting.

Issue

Closes: #51489

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. sig/docs Categorizes an issue or PR as relevant to SIG Docs. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Jul 3, 2025
@k8s-ci-robot k8s-ci-robot requested review from lmktfy and reylejano July 3, 2025 05:55
@netlify
Copy link

netlify bot commented Jul 3, 2025

Pull request preview available for checking

Built without sensitive environment variables

Name Link
🔨 Latest commit 36d5432
🔍 Latest deploy log https://app.netlify.com/projects/kubernetes-io-main-staging/deploys/68661b4cb18bbe0008367789
😎 Deploy Preview https://deploy-preview-51493--kubernetes-io-main-staging.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Member

@windsonsea windsonsea left a comment

Choose a reason for hiding this comment

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

Thanks. The test result looks good.

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jul 3, 2025
@k8s-ci-robot
Copy link
Contributor

LGTM label has been added.

DetailsGit tree hash: fa5bb750c2176227262cbdaac4f5cb3557417192

Copy link
Member

@dipesh-rawat dipesh-rawat left a comment

Choose a reason for hiding this comment

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

/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dipesh-rawat

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 3, 2025
@k8s-ci-robot k8s-ci-robot merged commit 0da6bd1 into kubernetes:main Jul 3, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. sig/docs Categorizes an issue or PR as relevant to SIG Docs. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

lsync.sh can't show git-diff lines for a specific file

4 participants