mirror of
https://github.com/go-gitea/gitea.git
synced 2026-06-18 05:03:00 +02:00
update comment
This commit is contained in:
parent
07b41769dc
commit
65c72437cb
@ -12,9 +12,9 @@ import (
|
||||
// FetchRemoteCommit fetches a specific commit and its related objects from a remote
|
||||
// repository into the managed repository.
|
||||
//
|
||||
// If no reference (branch, tag, or other ref) points to the fetched commit, it will
|
||||
// be treated as unreachable and cleaned up by `git gc` after the default prune
|
||||
// expiration period (2 weeks). Ref: https://www.kernel.org/pub/software/scm/git/docs/git-gc.html
|
||||
// If no reference (branch, tag, or other ref) points to the fetched commit, it becomes
|
||||
// unreachable. It can be cleaned up by a later `git gc` / auto-gc opportunity, such as
|
||||
// a future push, subject to the repository's prune policy. Ref: https://www.kernel.org/pub/software/scm/git/docs/git-gc.html
|
||||
//
|
||||
// This behavior is sufficient for temporary operations, such as determining the
|
||||
// merge base between commits.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user