Skip to content

Commit

Permalink
Add description line for commondir
Browse files Browse the repository at this point in the history
  • Loading branch information
ehuss authored Aug 21, 2024
1 parent f4c6914 commit cb4ea6e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/repo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -456,6 +456,8 @@ impl Repository {
}
}

/// Returns the path of the shared common directory for this repository.
///
/// If the repository is bare, it is the root directory for the repository.
/// If the repository is a worktree, it is the parent repo's gitdir.
/// Otherwise, it is the gitdir.
Expand Down

0 comments on commit cb4ea6e

Please sign in to comment.