chore: fix typos identified by mispell
This commit is contained in:
parent
5d5ac041cd
commit
c7711dac6d
2 changed files with 2 additions and 2 deletions
|
@ -80,7 +80,7 @@ func NewIDFromString(hexHash string) (ObjectID, error) {
|
|||
}
|
||||
|
||||
// IsEmptyCommitID checks if an hexadecimal string represents an empty commit according to git (only '0').
|
||||
// If objectFormat is not nil, the length will be checked as well (otherwise the lenght must match the sha1 or sha256 length).
|
||||
// If objectFormat is not nil, the length will be checked as well (otherwise the length must match the sha1 or sha256 length).
|
||||
func IsEmptyCommitID(commitID string, objectFormat ObjectFormat) bool {
|
||||
if commitID == "" {
|
||||
return true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue