Re: log --pretty accepts incomplete pre-defined formats

2016-04-06 Thread Eric Wong
Junio C Hamano wrote: > Sidhant Sharma writes: > > > Recently while playing around with git log, I realized that it is possible > > to > > pass incomplete (pre-defined) format names. For example, it is possible to > > use > > `git log --pretty=one` instead of oneline and it would still output

Re: log --pretty accepts incomplete pre-defined formats

2016-04-06 Thread Junio C Hamano
On Wed, Apr 6, 2016 at 2:03 PM, Eric Wong wrote: >> which was slightly tightend by aacd404e (Fix some >> documentation typos and grammar, 2007-02-02). > > Huh? Huh indeed. b6936205 (Disallow invalid --pretty= abbreviations, 2007-02-02) was what I meant to name. -- To unsubscribe from this list:

Re: log --pretty accepts incomplete pre-defined formats

2016-04-06 Thread Junio C Hamano
Sidhant Sharma writes: > Recently while playing around with git log, I realized that it is possible to > pass incomplete (pre-defined) format names. For example, it is possible to use > `git log --pretty=one` instead of oneline and it would still output the logs > in > oneline formatting. Same g

log --pretty accepts incomplete pre-defined formats

2016-04-05 Thread Sidhant Sharma
Hi, Recently while playing around with git log, I realized that it is possible to pass incomplete (pre-defined) format names. For example, it is possible to use `git log --pretty=one` instead of oneline and it would still output the logs in oneline formatting. Same goes for other formats such as '