alpha
Login
or
Join now
4uffin.bsky.social
/
core
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
My own copy of Tangled :)
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
patchutils: reduce diff context
author
Akshay
date
1 year ago
(Apr 21, 2025, 10:13 PM +0100)
commit
76c5ddbb
76c5ddbbfcaadad93af42530d706cf0aaea52b82
parent
889c121f
889c121f7eb8a21bb0828ae524922641c67d473d
+2
-2
2 changed files
Expand all
Collapse all
Unified
Split
flake.nix
patchutil
patchutil.go
+1
-1
flake.nix
Reviewed
···
49
49
inherit (gitignore.lib) gitignoreSource;
50
50
in {
51
51
overlays.default = final: prev: let
52
52
-
goModHash = "sha256-2vljseczrvsl2T0P9k69ro72yU59l5fp9r/sszmXYY4=";
52
52
+
goModHash = "sha256-EilWxfqrcKDaSR5zA3ZuDSCq7V+/IfWpKPu8HWhpndA=";
53
53
buildCmdPackage = name:
54
54
final.buildGoModule {
55
55
pname = name;
+1
-1
patchutil/patchutil.go
Reviewed
···
182
182
}
183
183
newTemp.Close()
184
184
185
185
-
cmd := exec.Command("diff", "-U", "9999", "--label", oldFile, "--label", newFile, oldTemp.Name(), newTemp.Name())
185
185
+
cmd := exec.Command("diff", "-u", "--label", oldFile, "--label", newFile, oldTemp.Name(), newTemp.Name())
186
186
output, err := cmd.CombinedOutput()
187
187
188
188
if exitErr, ok := err.(*exec.ExitError); ok && exitErr.ExitCode() == 1 {