Skip to content

Commit d19f54c

Browse files
committed
libgit: documentation nits suggested by songgao
Issue: keybase#1400
1 parent 9a38c1f commit d19f54c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

libgit/worktree_storer.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,19 @@ import (
1212
"gopkg.in/src-d/go-git.v4/storage"
1313
)
1414

15-
// worktreeStorer fake out the storage layer in such a way that it
15+
// worktreeStorer fakes out the storage layer in such a way that it
1616
// stores its index, and any reference modifications, in a .git/
1717
// directory in the worktree, but everything else goes through the
18-
// main bare repo's .git directory. This is useful for making a quick
18+
// main repo's .git directory. This is useful for making a quick
1919
// checkout of a git repo in a new directory, without making a full
2020
// git clone. For example, consider the following instance:
2121
//
2222
// * `storage.Storer` points to a bare repo stored in KBFS, say
23-
// `/keybase/team/keybase/.kbfs_git/secrets/.git`.
23+
// `/keybase/team/keybase/.kbfs_git/secrets/`.
2424
// * `delta` is the same as above, but cast as a `DeltaObjectStorer`.
2525
// * `wtDotgit` can be pointed anywhere else in KBFS where you want to
26-
// expose a checked-out version of the keybase secrets repo, say
27-
// `/keybase/private/strib/.kbfs_autogit/team/keybase/secrets/`
26+
// track a checked-out version of the keybase secrets repo, say
27+
// `/keybase/private/strib/.kbfs_autogit/team/keybase/secrets/.git/`
2828
//
2929
// Any calls to update the index or set a reference will be routed to
3030
// `wtDotgit`, and everything else goes to `storage.Storer`. That

0 commit comments

Comments
 (0)