summaryrefslogtreecommitdiff
path: root/doc/bugs
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2010-09-13 12:49:55 -0400
committerJoey Hess <joey@kitenet.net>2010-09-13 12:49:55 -0400
commit96d41dd21641c7a2683bdd0671bcd36dab7c069c (patch)
tree49e963a53ef734d203b5bfd466535539d45f2b5a /doc/bugs
parent24ff4a9e5f365854ebef59ca2ef99552fdc5b4a6 (diff)
parent0586d52f1f8978e53e90df32a21ebd346eabaa1b (diff)
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Diffstat (limited to 'doc/bugs')
-rw-r--r--doc/bugs/git.pm_should_prune_remote_branches_when_fetching.mdwn2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/bugs/git.pm_should_prune_remote_branches_when_fetching.mdwn b/doc/bugs/git.pm_should_prune_remote_branches_when_fetching.mdwn
index bf68350e3..01f3d1a28 100644
--- a/doc/bugs/git.pm_should_prune_remote_branches_when_fetching.mdwn
+++ b/doc/bugs/git.pm_should_prune_remote_branches_when_fetching.mdwn
@@ -7,3 +7,5 @@ Pruning remote branches can be done automatically with the --prune option to "gi
> I'll need more information than that before I add extra processing
> work to the current git commands it uses. I don't see any errors here
> from obsolete remote branches. --[[Joey]]
+
+Suppose a remote repository contains a branch named "foo", and you fetch from it. Then, someone renames that branch to "foo/bar". The next time you fetch from that repository, you will get an error because the obsolete branch "foo" is blocking the branch "foo/bar" from being created (due to the way git stores refs for branches). Pruning gets around the problem. It doesn't really add much overhead to the fetch, and in fact it can *save* overhead since obsolete branches do consume resources (any commits they point to cannot be garbage collected). --[[blipvert]]