Re: [ANNOUNCE] Git 1.6.5.5

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>  * In configuration files, a few variables that name paths can begin with
>    ~/ and ~username/ and they are expanded as expected.  This is not a
>    bugfix but 1.6.6 will have this and without backporting users cannot
>    easily use the same ~/.gitconfig across versions.

Sorry if posting as a reply to the announcement is improper.
However I am noticing that some kind of shell-like expansion is now allowed in
the config file, wrt home directories, and my wish is somehow related to it.

I wonder if it could be possible in future releases to expand also $HOSTNAME in
fetch/push specs.

The use case is the following. Working on more than one machine (e.g. a
laptop A and a desktop B) you might need to periodically push to a server C and
like to share the same config on both machines. Having $HOSTNAME expansion,
whatever machine you push from, you can say git push C and have the branches go
on remote/A or remote/B automatically on the server.

Sergio

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]