summaryrefslogtreecommitdiffstats
path: root/pkg/commands/patch/patch_builder.go
diff options
context:
space:
mode:
authorpikomonde <32364823+pikomonde@users.noreply.github.com>2024-03-20 03:05:19 +0700
committerStefan Haller <stefan@haller-berlin.de>2024-04-12 08:31:40 +0200
commit7f6eea2a55ee6e17660c893a9322d743c5016caf (patch)
tree31a410dd5035bf43d43c886dc46d493a98db4791 /pkg/commands/patch/patch_builder.go
parent06624e85d6b0b05d6c18b05292b3e15295d47a2c (diff)
standardize 'Commit Sha' to 'Commit Hash'
Diffstat (limited to 'pkg/commands/patch/patch_builder.go')
-rw-r--r--pkg/commands/patch/patch_builder.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/commands/patch/patch_builder.go b/pkg/commands/patch/patch_builder.go
index 0fedacd19..a1e2f5194 100644
--- a/pkg/commands/patch/patch_builder.go
+++ b/pkg/commands/patch/patch_builder.go
@@ -33,7 +33,7 @@ type (
// PatchBuilder manages the building of a patch for a commit to be applied to another commit (or the working tree, or removed from the current commit). We also support building patches from things like stashes, for which there is less flexibility
type PatchBuilder struct {
- // To is the commit sha if we're dealing with files of a commit, or a stash ref for a stash
+ // To is the commit hash if we're dealing with files of a commit, or a stash ref for a stash
To string
From string
reverse bool
@@ -46,7 +46,7 @@ type PatchBuilder struct {
fileInfoMap map[string]*fileInfo
Log *logrus.Entry
- // loadFileDiff loads the diff of a file, for a given to (typically a commit SHA)
+ // loadFileDiff loads the diff of a file, for a given to (typically a commit hash)
loadFileDiff loadFileDiffFunc
}