sha1_name: refactor upstream_mark
commita1ad0eb0cb1c9c83492b17d7a218be084466bf9a
authorJeff King <peff@peff.net>
Thu, 21 May 2015 04:45:39 +0000 (21 00:45 -0400)
committerJunio C Hamano <gitster@pobox.com>
Fri, 22 May 2015 16:33:08 +0000 (22 09:33 -0700)
treed5998d1d97fea0969bbda130ddd4bfc7d58c9a55
parente291c75a95d60862cbe12897b5cffb01ba4cedd5
sha1_name: refactor upstream_mark

We will be adding new mark types in the future, so separate
the suffix data from the logic.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
sha1_name.c