aboutsummaryrefslogtreecommitdiffstats
path: root/repository/git.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2019-11-19 00:27:40 +0100
committerMichael Muré <batolettre@gmail.com>2019-11-19 00:27:40 +0100
commita9b32e6bdaa610e2244816618a316bcdf53545e6 (patch)
tree579e49e7972dd0b1719227eee75a767dba92208d /repository/git.go
parent0b2a99ab965a1a90e138cc26f12c160a0dac60c2 (diff)
downloadgit-bug-a9b32e6bdaa610e2244816618a316bcdf53545e6.tar.gz
repo: esthetism rename
Diffstat (limited to 'repository/git.go')
-rw-r--r--repository/git.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/repository/git.go b/repository/git.go
index 2c72fccd..d4560805 100644
--- a/repository/git.go
+++ b/repository/git.go
@@ -461,14 +461,14 @@ func (repo *GitRepo) EditTimeIncrement() (lamport.Time, error) {
return repo.editClock.Increment()
}
-// CreateWitness witness another create time and increment the corresponding clock
+// WitnessCreate witness another create time and increment the corresponding clock
// if needed.
-func (repo *GitRepo) CreateWitness(time lamport.Time) error {
+func (repo *GitRepo) WitnessCreate(time lamport.Time) error {
return repo.createClock.Witness(time)
}
-// EditWitness witness another edition time and increment the corresponding clock
+// WitnessEdit witness another edition time and increment the corresponding clock
// if needed.
-func (repo *GitRepo) EditWitness(time lamport.Time) error {
+func (repo *GitRepo) WitnessEdit(time lamport.Time) error {
return repo.editClock.Witness(time)
}