update.sh: correct .refs-before and .refs-after sort order
commitb0f679afb11198d2386d8683affae1537080b358
authorKyle J. McKay <mackyle@gmail.com>
Fri, 12 Jul 2013 17:05:01 +0000 (12 10:05 -0700)
committerKyle J. McKay <mackyle@gmail.com>
Fri, 12 Jul 2013 17:05:01 +0000 (12 10:05 -0700)
tree95d3c539cd27e8e099772ffffcbbb390a4ef46b1
parent1afb3cc249a7e35987d9e61a1673d4807b339e13
update.sh: correct .refs-before and .refs-after sort order

Using join requires the input to be in "sort -k1b,1" order.  In
some cases the output of "git for-each-ref %(refname) %(objectname)"
is not in the correct order.

Pipe the output through "sort -k1b,1" when creating .refs-before
and .refs-after to avoid this problem.
jobd/update.sh