diff options
author | Eric Sunshine <sunshine@sunshineco.com> | 2015-01-14 08:46:35 +0100 |
---|---|---|
committer | Alberto Bertogli <albertito@blitiri.com.ar> | 2015-01-17 14:11:46 +0100 |
commit | 5568fd50c26e0474b3b1e02fa3581053d1478c5f (patch) | |
tree | 24c854d3818e5d33337eb6951b0cc41159278b11 /views/summary.html | |
parent | 89a637660fed90af8991d734ea758a07780e9ac1 (diff) | |
download | git-arr-fork-bea4114c720d5dc7e908def20c44f1fe5ab1ee13.zip |
Repo: retire new_in_branch() and notion of "bound" branch0.14
Binding (or "pegging") a Repo at a particular branch via new_in_branch()
increases the cognitive burden since the reader must maintain a mental
model of which Repo instances are pegged and which are not. This burden
outweighs whatever minor convenience (if any) is gained by pegging the
Repo at a particular branch. It is easier to reason about the code when
the branch name is passed to clients directly rather than indirectly via
a pegged Repo.
Preceding patches retired all callers of new_in_branch(), therefore
remove it.
Signed-off-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Alberto Bertogli <albertito@blitiri.com.ar>
Diffstat (limited to 'views/summary.html')
0 files changed, 0 insertions, 0 deletions