rev-list --boundary: show boundary commits even when limited otherwise.

The boundary commits are shown for UI like gitk to draw them as
soon as topo-order sorting allows, and should not be omitted by
get_revision() filtering logic.  As long as their immediate
child commits are shown, we should not filter them out.

Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
Junio C Hamano
2006-04-16 18:12:49 -07:00
parent e6bfaf3e33
commit 1b65a5aa44
4 changed files with 36 additions and 10 deletions

View File

@ -8,9 +8,9 @@
#include "diff.h"
#include "revision.h"
/* bits #0-6 in revision.h */
/* bits #0-15 in revision.h */
#define COUNTED (1u<<7)
#define COUNTED (1u<<16)
static const char rev_list_usage[] =
"git-rev-list [OPTION] <commit-id>... [ -- paths... ]\n"