Code

Refactor fast-import branch creation from existing commit
authorShawn O. Pearce <spearce@spearce.org>
Thu, 24 May 2007 04:05:19 +0000 (00:05 -0400)
committerShawn O. Pearce <spearce@spearce.org>
Thu, 24 May 2007 04:11:48 +0000 (00:11 -0400)
commit654aaa37ab5c70650bdd16d57b56c2d0f9aa43cf
treee56d06f7950743f72c3eb070cb53e85ffe92b178
parent20f546a86c5c673fc49050479a12edfb9f8672bf
Refactor fast-import branch creation from existing commit

To resolve a corner case uncovered by Simon Hausmann I need to
reuse the logic for the SHA-1 expression version of the 'from '
command within the mark version of the 'from ' command.  This change
doesn't alter any functionality, but is merely breaking the common
code out to a function that I can reuse.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
fast-import.c