summaryrefslogtreecommitdiff
path: root/git-bisect-script
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-08-24 21:30:04 (GMT)
committerJunio C Hamano <junkio@cox.net>2005-08-24 21:30:04 (GMT)
commit4866ccf0f434db118c4dcdeeab840eb4844d50a4 (patch)
tree43a82fd2053b5b69a0884add64f43bb44802abdc /git-bisect-script
parentccf1ee327f9a7d51704578fa41ba255abfd3a730 (diff)
downloadgit-4866ccf0f434db118c4dcdeeab840eb4844d50a4.zip
git-4866ccf0f434db118c4dcdeeab840eb4844d50a4.tar.gz
git-4866ccf0f434db118c4dcdeeab840eb4844d50a4.tar.bz2
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 'git-bisect-script')
0 files changed, 0 insertions, 0 deletions