gitless icon indicating copy to clipboard operation
gitless copied to clipboard

Display history starting from a specific commit

Open chmike opened this issue 9 years ago • 0 comments

I'm trying to display the modifications in the last commit. To de so I'm trying to use gl history.

The verbose option provides a nice display of changes. Unfortunately the -l (limit) option is apparently limited.

It seam that it always start counting history from the first commit. I couldn't find how to display the history starting from a specific commit, or HEAD - x commits. An option allowing to specify the starting point and accepting HEAD relative reference would be useful.

Here is a list of commit id referencing I would like would be supported : gl history -s HEAD-<n> or gl history -s <branch>-<n> or gl history -s <tag_id> or gl history -s <commit_id> .

BTW. log would be shorter to type than history.

chmike avatar Nov 01 '16 12:11 chmike