Skip to content

Conversation

@zlx
Copy link
Contributor

@zlx zlx commented Apr 22, 2014

make line-summary as sub-command for summary with option --line

example:

$ git summary --line

is equal to

$ git line-summary

@hemanth
Copy link
Collaborator

hemanth commented Jul 9, 2014

@zlx Any specific reason behind this?

@zlx
Copy link
Contributor Author

zlx commented Jul 9, 2014

line-summary and summary are both command for summay the information of the project. and the output is about and about. the only different is only: the summary is base on commit, the line-summary is base on line. So I think it's better to merge them into one.

@hemanth
Copy link
Collaborator

hemanth commented Jul 9, 2014

Got it. Now we would have git-line-summary and git summary --line ?

@zlx
Copy link
Contributor Author

zlx commented Jul 9, 2014

Yes, the git summary --line is euqal to git line-summary, which is the origin command.

@hemanth
Copy link
Collaborator

hemanth commented Jul 9, 2014

Any specific use case where the flag will be useful, rather than just line-summary ?

@zlx
Copy link
Contributor Author

zlx commented Jul 9, 2014

maybe @visionmedia can answer, ref from #172

@hemanth
Copy link
Collaborator

hemanth commented Jul 14, 2014

@zlx Found a clue to this in one of the man pages, thanks.

hemanth added a commit that referenced this pull request Jul 14, 2014
Make line-summary as sub-command.
@hemanth hemanth merged commit be12410 into tj:master Jul 14, 2014
tardypad pushed a commit to tardypad/git-extras that referenced this pull request Jul 13, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants