aboutsummaryrefslogtreecommitdiff
path: root/hooks/post-receive
diff options
context:
space:
mode:
authorEric Sunshine <sunshine@sunshineco.com>2015-01-14 08:46:35 +0100
committerAlberto Bertogli <albertito@blitiri.com.ar>2015-01-17 14:11:46 +0100
commit5568fd50c26e0474b3b1e02fa3581053d1478c5f (patch)
tree24c854d3818e5d33337eb6951b0cc41159278b11 /hooks/post-receive
parent89a637660fed90af8991d734ea758a07780e9ac1 (diff)
downloadgit-arr-fork-5568fd50c26e0474b3b1e02fa3581053d1478c5f.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 'hooks/post-receive')
0 files changed, 0 insertions, 0 deletions