Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Seymour <jon.seymour@gmail.com>2005-06-20 06:29:29 +0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-20 07:13:18 +0400
commit8cd1033e10b3d51d19676902bf522be15eb95751 (patch)
tree267a0d622b401347c400a5ae5b61465ba44dc45f /epoch.c
parentdec5eda7860f6d8babf3fa14c00bc5e1d4e06b4f (diff)
[PATCH] Tweaked --merge-order --show-breaks output in case specified head has no parent
git-rev-list --merge-order --show-breaks root Was outputing: | root It now outputs: = root Which is consistent with the behaviour of other cases. Signed-off-by: Jon Seymour <jon.seymour@gmail.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'epoch.c')
-rw-r--r--epoch.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/epoch.c b/epoch.c
index a4c82135b8..5b71ad50d8 100644
--- a/epoch.c
+++ b/epoch.c
@@ -536,6 +536,8 @@ static int sort_in_merge_order(struct commit *head_of_epoch, emitter_func emitte
ret = parse_commit(head_of_epoch);
+ next->object.flags |= BOUNDARY;
+
while (next && next->parents && !ret && (action != STOP)) {
struct commit *base = NULL;