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:
authorJunio C Hamano <junkio@cox.net>2005-08-25 01:30:04 +0400
committerJunio C Hamano <junkio@cox.net>2005-08-25 01:30:04 +0400
commit4866ccf0f434db118c4dcdeeab840eb4844d50a4 (patch)
tree43a82fd2053b5b69a0884add64f43bb44802abdc /http-pull.c
parentccf1ee327f9a7d51704578fa41ba255abfd3a730 (diff)
Rationalize output selection in rev-parse.
Earlier rounds broke 'whatchanged -p'. In attempting to fix this, make two axis of output selection in rev-parse orthogonal: --revs-only tells it not to output things that are not revisions nor flags that rev-list would take. --no-revs tells it not to output things that are revisions or flags that rev-list would take. --flags tells it not to output parameters that do not start with a '-'. --no-flags tells it not to output parameters that starts with a '-'. So for example 'rev-parse --no-revs -p arch/i386' would yield '-p arch/i386', while 'rev-parse --no-revs --flags -p archi/i386' would give just '-p'. Also the meaning of --verify has been made stronger. It now rejects anything but a single valid rev argument. Earlier it passed some flags through without complaining. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'http-pull.c')
0 files changed, 0 insertions, 0 deletions