On Sun, Jun 28, 2015 at 1:09 PM, Junio C Hamano gits...@pobox.com wrote:
Karthik Nayak karthik@gmail.com writes:
Add support for %(refname:lalignX) where X is a number.
This will print a shortened refname aligned to the left
followed by spaces for a total length of X characters.
If X is
Hey Christian,
On Sun, Jun 28, 2015 at 1:32 AM, Christian Couder
christian.cou...@gmail.com wrote:
After thinking about such code, I wonder if it would be better to
support %(refname:lalign=X) instead of %(refname:lalignX).
The reason why it might be interesting to require an = sign between
Karthik Nayak karthik@gmail.com writes:
Add support for %(refname:lalignX) where X is a number.
This will print a shortened refname aligned to the left
followed by spaces for a total length of X characters.
If X is less than the shortened refname size, the entire
shortened refname is
Karthik Nayak karthik@gmail.com writes:
On Sun, Jun 28, 2015 at 1:09 PM, Junio C Hamano gits...@pobox.com wrote:
Why would we even want this kind of thing in the first place? Is
this to make it possible to re-implement some option that exists
already in 'git branch' or 'git tag' as a
On Thu, Jun 25, 2015 at 1:43 PM, Karthik Nayak karthik@gmail.com wrote:
Add support for %(refname:lalignX) where X is a number.
This will print a shortened refname aligned to the left
followed by spaces for a total length of X characters.
If X is less than the shortened refname size, the
On Thu, Jun 25, 2015 at 6:43 PM, Karthik Nayak karthik@gmail.com wrote:
Add support for %(refname:lalignX) where X is a number.
This will print a shortened refname aligned to the left
followed by spaces for a total length of X characters.
If X is less than the shortened refname size, the
On Sat, Jun 27, 2015 at 10:02 PM, Christian Couder
christian.cou...@gmail.com wrote:
On Thu, Jun 25, 2015 at 1:43 PM, Karthik Nayak karthik@gmail.com wrote:
+ if (starts_with(formatp, lalign)) {
+ const char *valp;
+
Add support for %(refname:lalignX) where X is a number.
This will print a shortened refname aligned to the left
followed by spaces for a total length of X characters.
If X is less than the shortened refname size, the entire
shortened refname is printed.
Mentored-by: Christian Couder
8 matches
Mail list logo