X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=blobdiff_plain;f=strategy.tex;h=e12ff66afbbdc142eb4001b2778387735bfccd0f;hb=117c31e0202e39fc17f2f12c3690942d3c991cfd;hp=a4716b313dd577c5e74c6e1a7afe4f39ba8be082;hpb=67e27b1cb5487e79f47e828773fdd574b9da9712;p=topbloke-formulae.git diff --git a/strategy.tex b/strategy.tex index a4716b3..e12ff66 100644 --- a/strategy.tex +++ b/strategy.tex @@ -54,6 +54,13 @@ $\bigforall_{E \in \pendsof{\set X}{\p}} E \le T$ $\bigcup_{\p \in \allpatches} \set H^{\pn} \cup \set H^{\py}$. All the input commits to the update algorithm. (See below.) +\item[ $\set H^{\pc^{_=/-}}$ ] + +The existing head commit(s) $\set H$ of the branch $\pc^{+/-}$. +These are the heads which will be merged and used in this update. +This will include the current local and remote git refs, as desired. +Obtained from the function $h$ (see below). + %\item[ $\set E_{\pc}$ ] %$ \bigcup_i \pendsof{S_{\pc,i}}{\pc} $. %All the ends of $\pc$ in the sources. @@ -76,8 +83,12 @@ all of its dependencies will be updated. \item[ $h : \pc^{+/-} \mapsto \set H^{\pc^{+/-}}$ ] Function for getting the existing heads $\set H$ of the branch $\pc^{+/-}$. -These are the heads which will be merged and used in this update. -This will include the current local and remote git refs, as desired. + +\item[ $w : \pc^{+/-} \mapsto \set W_0^{\pc^{+/-}}$ ] + +Function for getting the existing local head of the branch +$\pc^{+/-}$. I.e., the current value of the branch ref for $\pc^{+/-}$. +$W_0^{\pc^{+/-}} \in \set H$. \item[ $g : \pc, \Gamma \mapsto \Gamma'$ ] Function to allow explicit adjustment of the direct dependencies @@ -119,8 +130,9 @@ $\allreach$ varies over time as we generate more commits. Each commit we generate will have only reachable commits as ancestors, so generating a new commit (only) adds that new commit to $\allreach$. -\item[ $\allreachof{\py}$ ] -The set of reachable commits at the point where we have just generated -$\tippy$, i.e. just after $\alg{Merge-Tip}(\p)$. +\item[ $\allreachof{\pn}$, $\allreachof{\py}$ ] +The sets of reachable commits at the point where we have just generated +$\tippn$ or $\tippy$, i.e. just after $\alg{Merge-Base}(\p)$ or +$\alg{Recreate-Base}(\p)$, or $\alg{Merge-Tip}(\p)$, respectively. \end{basedescript}