Bug 488839 - JGit CLI should support --decorate=[full|sort|no]
Summary: JGit CLI should support --decorate=[full|sort|no]
Status: NEW
Alias: None
Product: JGit
Classification: Technology
Component: JGit (show other bugs)
Version: 4.2   Edit
Hardware: PC Windows 7
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-02 04:48 EST by JY C CLA
Modified: 2016-03-02 07:11 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description JY C CLA 2016-03-02 04:48:32 EST
Option '--decorate' does not support additional argument.

According https://git-scm.com/docs/git-log :

> Print out the ref names of any commits that are shown. If short is specified, the ref name prefixes refs/heads/, refs/tags/ and refs/remotes/ will not be printed. If full is specified, the full ref name (including prefix) will be printed. The default option is short.



================================================================================

Following command:

git log --max-count=200 --decorate=full --date=iso HEAD

Throws:

fatal: full is not a commit

================================================================================

Following command:

git log --max-count=200 --decorate=short --date=iso HEAD

Throws:

fatal: short is not a commit

================================================================================

Following command:

git log --max-count=200 --decorate=no --date=iso HEAD

Throws:

fatal: no is not a commit