Re: [StGit PATCH] Try the built-in version string before git-describe

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

 



On 20/05/2008, Karl Hasselström <kha@xxxxxxxxxxx> wrote:
> Try to get the built-in version string first, and fall back to git
>  describe if there is no built-in string, instead of the other way
>  around. This makes computing the version string much cheaper in the
>  common case (whenever StGit is not run directly from a git-controlled
>  tree).
>
>  In order for this to work when StGit _is_ run directly from a
>  git-controlled tree, setup.py has to delete the builtin version file
>  once the installation process is over. (Otherwise, the StGit version
>  in a git-controlled tree would be frozen at whatever value it happened
>  to have when setup.py was last run.)

OK, I thought it was only the ordering change. With this change to
setup.py, I'm OK with the patch. I'll merge your tree tonight.

-- 
Catalin
--
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]

  Powered by Linux