Popular Post leak Posted January 7, 2011 Popular Post Report Share Posted January 7, 2011 (edited) Requirements: Msysgit can either by acquired directly from git for windows or using the "SetupComplete" package from GitExtensions. Msysgit version required: 1.7+ Minimum required TC rev: b2404c1a26d9 (10997) Setup options: During the setup wizard you will encounter the following screen: Make sure your git executable is added to the PATH variable by choosing one of the green marked options. Fixes "Missing or outdated git - did you forget to install a recent version?" Edited August 21, 2015 by leak 13 Link to comment Share on other sites More sharing options...
Riddick Posted January 7, 2011 Report Share Posted January 7, 2011 (edited) During the install I selected the second option but there's still no revision information. Tried installing in both the default path and windows directory. Using newest Git from http://code.google.com/p/msysgit/ Edited January 7, 2011 by Riddick Link to comment Share on other sites More sharing options...
leak Posted January 7, 2011 Author Report Share Posted January 7, 2011 What does entering echo %PATH% in a command window return to you? Link to comment Share on other sites More sharing options...
u2blah Posted January 8, 2011 Report Share Posted January 8, 2011 Same problem with me on my 64 bit Windows Vista computer. echo %PATH% returns: C:\Users\XXXX>echo %PATH% C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files (x86)\A TI Technologies\ATI.ACE\Core-Static;C:\Program Files (x86)\Common Files\Roxio Sh ared\DLLShared\;C:\Program Files (x86)\Common Files\Roxio Shared\10.0\DLLShared\ ;C:\Program Files (x86)\Common Files\DivX Shared\;c:\Program Files (x86)\Microso ft SQL Server\90\Tools\binn\;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Progr am Files (x86)\Git\cmd I installed both Git and GitExtensions in C:\Program Files (x86) and my Build (cmake), TDB, and TrinityCore folders in C:\ in their own folders. I installed Git like you stated above, so any idea what I'm doing wrong? Link to comment Share on other sites More sharing options...
Riddick Posted January 8, 2011 Report Share Posted January 8, 2011 What does entering echo %PATH% in a command window return to you? C:\Users\onehitxzibit>echo %PATH% C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files\NVI DIA Corporation\PhysX\Common;C:\Program Files\PC Connectivity Solution\;C:\Windo ws\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPower Shell\v1.0\;C:\Windows\system32\Wbem;C:\Program Files\Windows Live\Shared;C:\Pro gram Files\Git\cmd;;C:\FPC\2.2.4\bin\i386-Win32 Link to comment Share on other sites More sharing options...
leak Posted January 8, 2011 Author Report Share Posted January 8, 2011 If things like "C:\Program Files (x86)\Git\cmd" show up in your PATH variable and that folder also contains the executables/scripts everything should work fine. Link to comment Share on other sites More sharing options...
Riddick Posted January 8, 2011 Report Share Posted January 8, 2011 If things like "C:\Program Files (x86)\Git\cmd" show up in your PATH variable and that folder also contains the executables/scripts everything should work fine. I do have "C:\Program Files\Git\cmd " in my path but revision still shows up as 0. I doubt my Git installation is the problem. Link to comment Share on other sites More sharing options...
Robox Posted January 8, 2011 Report Share Posted January 8, 2011 ich habe dasselbe Problem habe es erst mal temporär so gelöst [translate google] I have had the same problem solved it first time temporarily Sun From fb65808e3563b4c083b8559b241bf088988a8ebb Mon Sep 17 00:00:00 2001 From: Robox <[email protected]> Date: Mon, 3 Jan 2011 23:40:45 +0100 Subject: [PATCH 06/36] CMake rev fix --- cmake/genrev.cmake | 12 +++++++++++- dep/genrev/genrev.cmd | 3 +++ dep/genrev/genrev.sh | 2 ++ 3 files changed, 16 insertions(+), 1 deletions(-) create mode 100644 dep/genrev/genrev.cmd create mode 100644 dep/genrev/genrev.sh diff --git a/cmake/genrev.cmake b/cmake/genrev.cmake index 1f6f43e..2eea19f 100644 --- a/cmake/genrev.cmake +++ b/cmake/genrev.cmake @@ -8,8 +8,18 @@ # WITHOUT ANY WARRANTY, to the extent permitted by law; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +if( UNIX ) + +set(genrev ${CMAKE_SOURCE_DIR}/dep/genrev/genrev.sh) + +else() + +set(genrev ${CMAKE_SOURCE_DIR}/dep/genrev/genrev.cmd) + +endif() + execute_process( - COMMAND git describe --match init --dirty=+ --abbrev=12 + COMMAND ${genrev} WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}" OUTPUT_VARIABLE rev_info OUTPUT_STRIP_TRAILING_WHITESPACE diff --git a/dep/genrev/genrev.cmd b/dep/genrev/genrev.cmd new file mode 100644 index 0000000..d223fce --- /dev/null +++ b/dep/genrev/genrev.cmd @@ -0,0 +1,3 @@ +@echo OFF +set Git="C:\Program Files (x86)\Git\bin\git.exe" + %Git% describe --match init --dirty=+ --abbrev=12 diff --git a/dep/genrev/genrev.sh b/dep/genrev/genrev.sh new file mode 100644 index 0000000..f2a294c --- /dev/null +++ b/dep/genrev/genrev.sh @@ -0,0 +1,2 @@ +#/bin/bash +git describe --match init --dirty=+ --abbrev=12 -- 1.7.3.1.msysgit.0 Link to comment Share on other sites More sharing options...
u2blah Posted January 9, 2011 Report Share Posted January 9, 2011 If things like "C:\Program Files (x86)\Git\cmd" show up in your PATH variable and that folder also contains the executables/scripts everything should work fine. So we need to pull our Trinity Core clone into the PATH folder (C:\Program Files (x86)\Trinity as an example) now? Link to comment Share on other sites More sharing options...
daddelkopp Posted January 9, 2011 Report Share Posted January 9, 2011 I think I got it During installation of GitExtension (Installation Option 2+3) the fallowing folder will be added to path variable: C:\Program Files (x86)\Git\cmd But in this folder you will only find batchfiles, no executeables. As mentioned above, I try to insert the folder where the git executeables are located: "C:\Program Files (x86)\Git\bin" (At Windows 32 Bit "C:\Program Files\Git\bin"). So I add "C:\Program Files (x86)\Git\bin" to path variable (without "") and cmake was able to get trinity reviosion number Please clear your cmake cache or delete the whole build directory! 1 Link to comment Share on other sites More sharing options...
leak Posted February 27, 2011 Author Report Share Posted February 27, 2011 This is only of interest if you're planning to push commits to remote locations like github. Link to comment Share on other sites More sharing options...
Billy Posted April 26, 2011 Report Share Posted April 26, 2011 (edited) OK, I'm using Win Vista 32bit, installed Git Extensions 2.21, put "C:\Program Files\Git\bin" & "C:\Program Files\Git\cmd" into my PATH, uninstalled Git Extensions and started over several times using the 2nd option which adds it to the path, and still I get a db_version of 0 whenever I open up my world db and go to the table "version". So apparently I'm missing something some where. Any ideas? PS: "C:\Program Files\GetExtensions" is in the path statement as well. Nevermind, I uninstalled everything, deleted the associated folders, and re-installed, and now it's working. Edited April 26, 2011 by Billy Link to comment Share on other sites More sharing options...
llars Posted June 21, 2011 Report Share Posted June 21, 2011 I am having issues getting the revision info to display. I have tried reinstalling and recompiling multiple times to no avail. Everything else works fine. Both folders are in my path and I can call git from inside the source directory without using the path. I am following the wiki exactly so maybe I am missing something not documented there? Git version 1.7.3.1 Cmake version 2.8.4 Path Microsoft Windows XP [Version 5.1.2600] © Copyright 1985-2001 Microsoft Corp. C:\>echo %path% C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Git\cmd ;C:\Program Files\Git\bin worldserver output 2011-06-21 14:48:53 Using configuration file worldserver.conf. 2011-06-21 14:48:53 TrinityCore Hash: c4818f189216+ (Win32, Release (little-endian)) (worldserver-daemon) 2011-06-21 14:48:53 <Ctrl-C> to stop. 2011-06-21 14:48:53 ______ __ 2011-06-21 14:48:53 /\__ _\ __ __/\ \__ 2011-06-21 14:48:53 \/_/\ \/ _ __ /\_\ ___ /\_\ \ ,_\ __ __ 2011-06-21 14:48:53 \ \ \/\`'__\/\ \ /' _ `\/\ \ \ \/ /\ \/\ \ 2011-06-21 14:48:53 \ \ \ \ \/ \ \ \/\ \/\ \ \ \ \ \_\ \ \_\ \ 2011-06-21 14:48:53 \ \_\ \_\ \ \_\ \_\ \_\ \_\ \__\\/`____ \ 2011-06-21 14:48:53 \/_/\/_/ \/_/\/_/\/_/\/_/\/__/ `/___/> \ 2011-06-21 14:48:53 C O R E /\___/ 2011-06-21 14:48:53 http://TrinityCore.org \/__/ 2011-06-21 14:48:53 Realm running as realm ID 1 2011-06-21 14:48:53 Using World DB: TDB 335.11.40 2011-06-21 14:48:53 Using creature EventAI: TDBAI 335.0.3 Link to comment Share on other sites More sharing options...
Paradox Posted June 22, 2011 Report Share Posted June 22, 2011 looks normal... the old numeric revision was removed a while back, because, you know, telling what revision you are on by reading a bunch of seemingly random numbers and letters is way easier than using a sequentially updated number... Link to comment Share on other sites More sharing options...
llars Posted June 22, 2011 Report Share Posted June 22, 2011 Wait so the revision info doesn't display anymore at all? And here I have been beating my head over this for two days now. Link to comment Share on other sites More sharing options...
Ncognito Posted July 26, 2011 Report Share Posted July 26, 2011 when i was in "Compiling the Source " step as the site goes it must be : ========== Build: 14 succeeded, 0 failed, 0 up-to-date, 0 skipped ========== but my try went to : ========== Build: 13 succeeded, 0 failed, 1 up-to-date, 1 skipped ========== is there any problem? i cant find why. please answer Link to comment Share on other sites More sharing options...
leak Posted July 26, 2011 Author Report Share Posted July 26, 2011 @llars Nope, it was removed. @Ncognito Reading and stuff.. "0 failed" 1 Link to comment Share on other sites More sharing options...
paulino27 Posted September 28, 2011 Report Share Posted September 28, 2011 (edited) Hey guys ,im new here and i have a problem. Why i have not "Git Extension" option when i right click on a folder?i can't clone... Im using Windows 7,64bit I already installed following this thread and re-installed git 20 times! Edited September 28, 2011 by paulino27 Link to comment Share on other sites More sharing options...
songtaste Posted February 6, 2012 Report Share Posted February 6, 2012 I`am not install msysgit but just git gui,so far it works well..that`s why? Is there something maybe happenning? Link to comment Share on other sites More sharing options...
Paradox Posted February 6, 2012 Report Share Posted February 6, 2012 follow the directions in the first post exactly, and there will be no problem. Link to comment Share on other sites More sharing options...
delro Posted February 15, 2012 Report Share Posted February 15, 2012 Hey guys ,im new here and i have a problem. Why i have not "Git Extension" option when i right click on a folder?i can't clone... Im using Windows 7,64bit I already installed following this thread and re-installed git 20 times! I'm getting the same problem, git is completely unresponsive, re-installed 20 times, and when I click, nothing happens, not even an error window. Win 7 64bit. Link to comment Share on other sites More sharing options...
Subv Posted February 16, 2012 Report Share Posted February 16, 2012 You can also use TortoiseGIT, it integrates with Windows 7 x64 quite nicely (and yes, it comes with msysgit as default cli) Link to comment Share on other sites More sharing options...
luozhazha Posted March 7, 2012 Report Share Posted March 7, 2012 (edited) hi, all I was troubled by the rev.0 for a long time. I have done according to the all above approach, but still rev.0! any ideas? plz help. -------------------- BTW: I use XP 32bit. Edited March 9, 2012 by luozhazha Link to comment Share on other sites More sharing options...
luozhazha Posted March 9, 2012 Report Share Posted March 9, 2012 I think I got it During installation of GitExtension (Installation Option 2+3) the fallowing folder will be added to path variable: C:Program Files (x86)Gitcmd But in this folder you will only find batchfiles, no executeables. As mentioned above, I try to insert the folder where the git executeables are located: "C:Program Files (x86)Gitbin" (At Windows 32 Bit "C:Program FilesGitbin"). So I add "C:Program Files (x86)Gitbin" to path variable (without "") and cmake was able to get trinity reviosion number Please clear your cmake cache or delete the whole build directory! disagree, c:/Program Files/Git/cmd/git.cmd is OK. Link to comment Share on other sites More sharing options...
Zaranthos Posted March 9, 2012 Report Share Posted March 9, 2012 I just followed the wiki a week ago and everything worked fine for me. Pay attention to the installation option questions when installing since you'll want context menus and path stuff added during the install(s). The wiki does a good job of explaining it in detail but in the event an updated installer changes and doesn't have the same options either use common sense (not click click click done) or keep notes on what options you did or didn't enable during your install process so you can ask detailed questions here if you have problems. 1 Link to comment Share on other sites More sharing options...
Recommended Posts