summaryrefslogtreecommitdiff
path: root/advice.c
diff options
context:
space:
mode:
authorThomas Rast <trast@student.ethz.ch>2009-10-28 23:10:06 +0100
committerJunio C Hamano <gitster@pobox.com>2009-10-28 16:45:24 -0700
commit4d23660e79dbbb7e2ae37cb7193166d085a78502 (patch)
tree36adf863ee02414255a4a5b1570202ff176f721e /advice.c
parentcd0f8e6d63d3e2744d7d3b2329238be7d064a8ea (diff)
downloadgit-4d23660e79dbbb7e2ae37cb7193166d085a78502.tar.gz
describe: when failing, tell the user about options that work
Users seem to call git-describe without reading the manpage, and then wonder why it doesn't work with unannotated tags by default. Make a minimal effort towards seeing if there would have been unannotated tags, and tell the user. Specifically, we say that --tags could work if we found any unannotated tags. If not, we say that --always would have given results. Signed-off-by: Thomas Rast <trast@student.ethz.ch> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'advice.c')
0 files changed, 0 insertions, 0 deletions