"HEAD" is not a valid commit!

Moderator: Raze Developers

"HEAD" is not a valid commit!

Postby Rachael » Fri Mar 13, 2020 5:50 am

If you are self-compiling and reporting bugs, please post the commit hash.

If you are unsure, simply type "git describe --tags" in your source tree. Or type "git rev-parse HEAD". If using a devbuild, simply open your INI and copy the first line.

Use whichever format you like best. Either way though, don't use "HEAD".
User avatar
Rachael
Webmaster
 
Joined: 13 Jan 2004
Discord: Rachael#3767
Twitch ID: madamerachelle
Github ID: madame-rachelle
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

Re: "HEAD" is not a valid commit!

Postby _mental_ » Fri Mar 13, 2020 7:31 am

The same applies to "latest", "current", "March 13th", and so on. A commit time has nothing to do with a push time, they are unrelated.
Commit hashes exist for this reason, to uniquely identify the state of source code.
You want to point to a particular commit, post a hash, or better insert a GitHub link to it.
_mental_
 
 
 
Joined: 07 Aug 2011

Re: "HEAD" is not a valid commit!

Postby sinisterseed » Fri Mar 13, 2020 10:15 am

I've noticed long ago that the master .zip files also contain a hash/code, would that be useful too?
User avatar
sinisterseed
GZDoom RO Translator & Raze Tester
 
Joined: 05 Nov 2019
Twitch ID: sixhundredsixteen
Github ID: sinisterseed
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

Re: "HEAD" is not a valid commit!

Postby Rachael » Fri Mar 13, 2020 10:20 am

Yes. If you are compiling without Git and using the zip files instead, use the hash code for that zip - it can be found on the last commit message next to the zip download.
User avatar
Rachael
Webmaster
 
Joined: 13 Jan 2004
Discord: Rachael#3767
Twitch ID: madamerachelle
Github ID: madame-rachelle
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

Re: "HEAD" is not a valid commit!

Postby sinisterseed » Fri Mar 13, 2020 10:43 am

Rachael wrote:Yes. If you are compiling without Git and using the zip files instead, use the hash code for that zip - it can be found on the last commit message next to the zip download.

Ye, that's my preferred way of compiling at the moment, just downloading the master as a .zip then taking care of it. I'll provide it in my future bug reports :3: .
User avatar
sinisterseed
GZDoom RO Translator & Raze Tester
 
Joined: 05 Nov 2019
Twitch ID: sixhundredsixteen
Github ID: sinisterseed
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support


Return to Bugs

Who is online

Users browsing this forum: CBM and 0 guests