aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/object
diff options
context:
space:
mode:
authorMáximo Cuadros <mcuadros@gmail.com>2017-05-04 20:02:27 +0200
committerMáximo Cuadros <mcuadros@gmail.com>2017-05-04 20:02:27 +0200
commit3713157d189a109bdccdb055200defb17297b6de (patch)
tree3cf652b8cfa94e011d4d7b5addfd13945870cda8 /plumbing/object
parentb8b61e74469e0d2662e7d690eee14893f91fe259 (diff)
downloadgo-git-3713157d189a109bdccdb055200defb17297b6de.tar.gz
worktree: Commit, tests improvements
Diffstat (limited to 'plumbing/object')
-rw-r--r--plumbing/object/commit.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/plumbing/object/commit.go b/plumbing/object/commit.go
index adac4f9..0a20ae6 100644
--- a/plumbing/object/commit.go
+++ b/plumbing/object/commit.go
@@ -30,9 +30,9 @@ type Commit struct {
Committer Signature
// Message is the commit message, contains arbitrary text.
Message string
- // TreeHash hash of the tree pointed by the commit.
+ // TreeHash is the hash of the root tree of the commit.
TreeHash plumbing.Hash
- // ParentHashes hashes of the parent commits of the commit.
+ // ParentHashes are the hashes of the parent commits of the commit.
ParentHashes []plumbing.Hash
s storer.EncodedObjectStorer