Not only to read, but to also maintain.

On Thursday, April 28, 2022 at 10:55:39 AM UTC-4 Jack Adrian Zappa wrote:

> I was trying to make my .gitconfig cleaner and easier to maintain, and I 
> found that variable expansion isn't a thing.  Why is that?
>
> A use case that this would be useful is having several commands requiring 
> the same parameters which is long and hard to read, such as a regex.  You 
> can see my question on SO here 
> <https://stackoverflow.com/questions/72005402/is-there-a-way-to-define-and-use-a-user-defined-variable-in-the-gitconfig-file>
> .
>
> Also an answer was submitted, it is a very roundabout way to do something 
> that should be very simple.  There is the %(var) expansion for paths 
> available, why isn't a similar expansion available for simple text?  
> Perhaps by using curly braces rather than parenthesis?
>
> Is there a place where I could request this as a feature?
>
> Cheers,
>
>
> JAZ
>

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/git-users/0ede2560-9204-4ddc-8247-cac3e82b2eaen%40googlegroups.com.

Reply via email to