Merge branch 'maint'

* maint:
  git-name-rev: allow --name-only in combination with --stdin
  builtin-name-rev.c: split deeply nested part from the main function

Conflicts:
	Documentation/git-name-rev.txt
This commit is contained in:
Junio C Hamano
2008-08-02 11:58:34 -07:00
2 changed files with 47 additions and 39 deletions

View File

@ -38,8 +38,7 @@ OPTIONS
Instead of printing both the SHA-1 and the name, print only
the name. If given with --tags the usual tag prefix of
"tags/" is also omitted from the name, matching the output
of 'git-describe' more closely. This option
cannot be combined with --stdin.
of `git-describe` more closely.
--no-undefined::
Die with error code != 0 when a reference is undefined,