git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Git-1.6.0.2-preview20080921 on Windows

From
Steffen Prohaska <prohaska@zib.de>
Date
Sep 22, 2008, 05:46 UTC
Message-ID
<568A44C2-97A5-4DF4-8B45-36BE175E7782@zib.de>
In-Reply-To
<bb6f213e0809211119t3c2bc6e8x3342bd33bef38916@mail.gmail.com>
On Sep 21, 2008, at 8:19 PM, Alexander Gavrilov wrote:
Show 24 quoted lines
> On Sun, Sep 21, 2008 at 9:30 PM, Steffen Prohaska <prohaska@zib.de>  
> wrote:
>> Git-1.6.0.2-preview20080921 for Windows is available at
>>
>>   http://code.google.com/p/msysgit/downloads
>>
>> The version installed is based on Junio's current  
>> 'maint' (cc185a6a8a)
>> plus the patch series I sent today, see
>>
>>  http://article.gmane.org/gmane.comp.version-control.git/92605
>>
>> The new installer is not yet featured on the msysgit homepage,  
>> because
>> the installer contains the new "libexec/git-core" layout, which has  
>> not
>> been tested much.  I'll wait a few days to see if the new layout  
>> works.
>> If hear nothing bad, I'll move the "Featured" flag to 1.6.0.2.
>
> You forgot to merge my build of the Cygwin kill utility for MSys.
> Available here:
>
> http://repo.or.cz/w/msysgit.git?a=log;h=refs/heads/mob
Apologies.  I'll include it in the next release.
> Also, when I start git-gui from an empty repository, or try to amend
> the root commit, I get:
>
[...]
>
> I get the same error if I simply run 'git mktree' as well.
This is fixed by:
diff --git a/mktree.c b/mktree.c
index e0da110..9545c96 100644
--- a/mktree.c
+++ b/mktree.c
@@ -70,6 +70,9 @@ int main(int ac, char **av)
         unsigned char sha1[20];
         int line_termination = '\n';

+       if (argv[0] && *argv[0])
+               git_extract_argv0_path(argv[0]);
+
         setup_git_directory();

         while ((1 < ac) && av[1][0] == '-') {


I'll create an updated installer soon.

	Steffen
Previous: Alexander GavrilovNext: Jakub Narebski
Message 18 of 20 in “Git-1.6.0.2-preview20080921 on Windows”
  1. Steffen ProhaskaSep 21, 2008
  2. [CORRECTION] Git-1.6.0.2-preview20080921 on WindowsSteffen Prohaska, Sep 21, 2008
  3. Peter KreftingSep 22, 2008
  4. Frederik HohlfeldSep 22, 2008
  5. Peter KreftingSep 23, 2008
  6. Johan HerlandSep 22, 2008
  7. [ANNOUNCE] Git-1.6.0.2-preview20080923Steffen Prohaska, Sep 23, 2008
  8. Peter KreftingSep 23, 2008
  9. Christian MICHONSep 23, 2008
  10. Johannes SchindelinSep 23, 2008
  11. Lee HensonSep 23, 2008
  12. Johan HerlandSep 23, 2008
  13. Tor Arvid LundSep 23, 2008
  14. Eric RaibleSep 23, 2008
  15. Peter KreftingSep 26, 2008
  16. Sebastian SchuberthJan 4, 2009
  17. Alexander GavrilovSep 21, 2008
  18. Steffen ProhaskaSep 22, 2008
  19. Jakub NarebskiSep 21, 2008
  20. Steffen ProhaskaSep 22, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.