Junio C Hamano <junkio@xxxxxxx> wrote: > "Shawn O. Pearce" <spearce@xxxxxxxxxxx> writes: > > > +__git_merge_strategies () > > +{ > > + sed -n "/^all_strategies='/{ > > + s/^all_strategies='// > > + s/'// > > + p > > + q > > + }" "$(git --exec-path)/git-merge" > > +} > > + > > Shouldn't we load and compute this once and keep the result in a > variable (say $__git_merge_strategies)? Sure. See my latest 4 patch series. :-) -- Shawn. - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html