Skip to content

cu diff#135

Merged
tiborvass merged 6 commits intomainfrom
cu-diff
Jun 27, 2025
Merged

cu diff#135
tiborvass merged 6 commits intomainfrom
cu-diff

Conversation

@aluzzardi
Copy link
Contributor

  • Add support for cu diff
  • Only show logs and diffs for changes that happened in the environment
  • Move cu log code into Repository
  • Add cu log -p and don't show patches by default
  • Show notes in cu log

@aluzzardi aluzzardi requested review from cwlbraa and grouville and removed request for cwlbraa June 26, 2025 20:29
cmd := exec.CommandContext(ctx, "git")
cmd.Dir = r.userRepoPath
cmd.Args = diffArgs
cmd.Stdout = w
Copy link
Contributor

Choose a reason for hiding this comment

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

Not specific to this PR, but in general i think we should not ignore stderr and either do os.Stderr and/or log it to the log file.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Workaround implemented -- PTAL

aluzzardi and others added 6 commits June 27, 2025 11:18
- Add support for `cu diff`
- Only show logs and diffs for changes that happened in the environment
- Move `cu log` code into Repository
- Add `cu log -p` and don't show patches by default
- Show notes in `cu log`

Signed-off-by: Andrea Luzzardi <andrea@luzzardi.com>
Signed-off-by: Andrea Luzzardi <andrea@luzzardi.com>
Co-authored-by: Tibor Vass <tiborvass@users.noreply.github.com>
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
Co-authored-by: Tibor Vass <tiborvass@users.noreply.github.com>
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
Co-authored-by: Tibor Vass <tiborvass@users.noreply.github.com>
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
Signed-off-by: Andrea Luzzardi <andrea@luzzardi.com>
@tiborvass tiborvass merged commit 01a33bd into main Jun 27, 2025
2 checks passed
@tiborvass tiborvass deleted the cu-diff branch June 27, 2025 23:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants