commit | 322a4b1697b524af7084995d913f3e4106b6ff82 | [log] [tgz] |
---|---|---|
author | Shawn O. Pearce <sop@google.com> | Thu Jul 15 16:06:23 2010 -0700 |
committer | Shawn O. Pearce <sop@google.com> | Thu Jul 15 16:06:23 2010 -0700 |
tree | 38b33b2289c662de01fb3941b69791e1bc4e8fa8 | |
parent | c9a699f99ad0ab8fcfd153cd3e34f948c6753d36 [diff] |
Stop searching for branch/topic split at "refs/" We might have "refs/${username}/*" acting as a sandbox area, and a single-digit user name would have "refs/a/a/" shorter than "refs/heads/" making the split logic abort too early before finding a match. Only abort the split once we've reached "refs/" as the only remaining branch part. Change-Id: I3fe0c54a2d7772229beb53ba3991e7d25bc1c8a9 Signed-off-by: Shawn O. Pearce <sop@google.com>