Move out global houskeeping from grabpatch()
authorMartin Nordholts <martinn@src.gnome.org>
Sun, 20 Dec 2009 08:41:07 +0000 (09:41 +0100)
committerJonathan Corbet <corbet@lwn.net>
Sat, 6 Feb 2010 23:32:35 +0000 (16:32 -0700)
commit2d89da8864f387e236ff0d90885e47f69e59ebef
tree0c83a68e9e17242f8272119638eab0cb9e77a3dc
parent9abb7c32bbbebf228448619a3ecb8f78f6a6081f
Move out global houskeeping from grabpatch()

As a step to make grabpatch() more unit-test friendly, move out global
houskeeping from grabpatch(). This also gets rid of a TODO in the
code. The regression tests still passes after this refactoring, of
course.

Signed-off-by: Martin Nordholts <martinn@src.gnome.org>
gitdm