Re: [HACKERS] Include commit identifier in version() function

2011-11-05 Thread Robert Haas
On Sat, Nov 5, 2011 at 2:46 PM, Jeff Janes wrote: >> Moreover, there's no real guarantee that you're compiling from a git >> tree at all; you could well be compiling from a tarball. >> >> All in all I feel like this is a solution in search of a problem. >> People shouldn't be using anything other

Re: [HACKERS] Include commit identifier in version() function

2011-11-05 Thread Jeff Janes
2011/10/28 Robert Haas : > 2011/10/28 pasman pasmański : >> I think, it be useful to include in version() function a hexadecimal >> identifier of commit, for fast checkout to it in git. > > It's sort of impossible to make this accurate, though.  You may have > patched your tree but not created a co

Re: [HACKERS] Include commit identifier in version() function

2011-10-28 Thread Robert Haas
2011/10/28 pasman pasmański : > I think, it be useful to include in version() function a hexadecimal > identifier of commit, for fast checkout to it in git. It's sort of impossible to make this accurate, though. You may have patched your tree but not created a commit with those changes before you