login
Header Space

 
 

Re: First cut at git port to Cygwin

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: H. Peter Anvin <hpa@...>
Cc: Git Mailing List <git@...>
Date: Wednesday, October 5, 2005 - 9:16 am

I have a few things I experienced with the merged cygwin stuff. Sorry I
haven't investigated it further, but there should be enough for a few
fixes.

When I ...

  user@machine /usr/local/dev/git/git
  $ make prefix=/usr/local install
  install -d -m755 /usr/local/bin
  install git-apply.exe [...]
  sh ./cmd-rename.sh /usr/local/bin
  ln: creating symbolic link `/usr/local/bin/git-http-pull.exe' to `git-http-fetch.exe': File exists
  make: *** [install] Error 1

Can be fixed by the patch below. I don't know if it would be cleaner to
pass cmd-rename.sh "$X" as a second argument from the Makefile.

--- cmd-rename.sh	2005-10-05 14:42:00.000000000 +0200
+++ cmd-rename.sh-orig	2005-10-05 14:43:48.000000000 +0200
@@ -3,7 +3,7 @@
 test -d "$d" || exit
 while read old new
 do
-	rm -f "$d/$old" "$d/$old.exe" 
+	rm -f "$d/$old"
 	if test -f "$d/$new"
 	then
 		ln -s "$new" "$d/$old" || exit


Some other obscurities ...

  user@machine /usr/local/dev/git/git
  $ git-log
  fatal: Not a git repository

  user@machine /usr/local/dev/git/git
  $ GIT_DIR=.git git-log | wc -l
  26094

and I cannot rebuild the index file with git-reset. First time I run it
it creates the index.lock file and errors out when writing. The second
time it errors out because the lock file was not removed in the first
case.

  user@machine /usr/local/dev/git/git
  $ GIT_DIR=.git git-reset
  fatal: unable to write new index file
  
  user@machine /usr/local/dev/git/git
  $ GIT_DIR=.git git-reset
  fatal: unable to create new cachefile
  
  user@machine /usr/local/dev/git/git
  $ uname -a
  CYGWIN_NT-5.1 antimatter 1.5.18(0.132/4/2) 2005-07-02 20:30 i686 unknown unknown Cygwin

-- 
Jonas Fonseca
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
First cut at git port to Cygwin, H. Peter Anvin, (Wed Sep 28, 8:53 pm)
Re: First cut at git port to Cygwin, Jonas Fonseca, (Wed Oct 5, 9:16 am)
Re: First cut at git port to Cygwin, Johannes Schindelin, (Wed Oct 5, 9:58 am)
[PATCH] Fix symbolic ref validation, Jonas Fonseca, (Wed Oct 5, 11:52 am)
Re: [PATCH] Fix symbolic ref validation, Junio C Hamano, (Wed Oct 5, 12:54 pm)
Re: First cut at git port to Cygwin, Alex Riesen, (Tue Oct 4, 8:31 am)
Re: First cut at git port to Cygwin, H. Peter Anvin, (Tue Oct 4, 11:03 am)
Re: First cut at git port to Cygwin, Alex Riesen, (Wed Oct 5, 7:24 am)
Re: First cut at git port to Cygwin, Alex Riesen, (Wed Oct 5, 11:46 am)
Re: First cut at git port to Cygwin, Christopher Faylor, (Wed Oct 5, 11:54 am)
Re: First cut at git port to Cygwin, Alex Riesen, (Wed Oct 5, 3:17 pm)
Re: First cut at git port to Cygwin, Christopher Faylor, (Wed Oct 5, 4:29 pm)
Re: First cut at git port to Cygwin, Alex Riesen, (Thu Oct 6, 5:05 am)
Re: First cut at git port to Cygwin, Alex Riesen, (Thu Oct 6, 6:07 am)
Re: First cut at git port to Cygwin, Alex Riesen, (Fri Oct 7, 8:44 am)
Re: First cut at git port to Cygwin, Linus Torvalds, (Fri Oct 7, 11:34 am)
Re: First cut at git port to Cygwin, Alex Riesen, (Fri Oct 7, 4:54 pm)
Re: First cut at git port to Cygwin, Alex Riesen, (Fri Oct 7, 5:22 pm)
Re: First cut at git port to Cygwin, Chuck Lever, (Fri Oct 7, 5:29 pm)
Re: First cut at git port to Cygwin, Alex Riesen, (Fri Oct 7, 5:39 pm)
Re: First cut at git port to Cygwin, Linus Torvalds, (Sat Oct 8, 12:11 pm)
Re: First cut at git port to Cygwin, Johannes Schindelin, (Sat Oct 8, 2:27 pm)
Re: First cut at git port to Cygwin, Alex Riesen, (Sat Oct 8, 2:49 pm)
Re: First cut at git port to Cygwin, Junio C Hamano, (Sat Oct 8, 2:44 pm)
Re: First cut at git port to Cygwin, H. Peter Anvin, (Mon Oct 10, 2:43 pm)
Re: First cut at git port to Cygwin, Johannes Schindelin, (Mon Oct 10, 3:01 pm)
Re: First cut at git port to Cygwin, Daniel Barkalow, (Mon Oct 10, 4:27 pm)
Re: First cut at git port to Cygwin, H. Peter Anvin, (Mon Oct 10, 3:26 pm)
Re: First cut at git port to Cygwin, Junio C Hamano, (Mon Oct 10, 4:34 pm)
Re: First cut at git port to Cygwin, H. Peter Anvin, (Mon Oct 10, 4:52 pm)
Re: First cut at git port to Cygwin, Junio C Hamano, (Mon Oct 10, 4:21 pm)
Re: First cut at git port to Cygwin, Johannes Schindelin, (Mon Oct 10, 3:42 pm)
Re: First cut at git port to Cygwin, Johannes Schindelin, (Sat Oct 8, 3:04 pm)
Re: First cut at git port to Cygwin, Junio C Hamano, (Sat Oct 8, 5:10 pm)
Re: First cut at git port to Cygwin, Johannes Schindelin, (Sat Oct 8, 6:06 pm)
Re: First cut at git port to Cygwin, Elfyn McBratney, (Sat Oct 8, 1:43 pm)
Re: First cut at git port to Cygwin, Elfyn McBratney, (Sat Oct 8, 1:38 pm)
Re: First cut at git port to Cygwin, Davide Libenzi, (Wed Oct 5, 12:09 pm)
Re: First cut at git port to Cygwin, Christopher Faylor, (Wed Oct 5, 12:15 pm)
Re: First cut at git port to Cygwin, Davide Libenzi, (Wed Oct 5, 1:29 pm)
Re: First cut at git port to Cygwin, H. Peter Anvin, (Wed Oct 5, 12:23 pm)
Re: First cut at git port to Cygwin, Christopher Faylor, (Wed Oct 5, 12:28 pm)
Re: First cut at git port to Cygwin, Christopher Faylor, (Tue Oct 4, 11:16 pm)
Re: First cut at git port to Cygwin, H. Peter Anvin, (Wed Oct 5, 1:25 am)
Re: First cut at git port to Cygwin, H. Peter Anvin, (Tue Oct 4, 10:06 am)
Re: First cut at git port to Cygwin, Christopher Faylor, (Tue Oct 4, 11:15 pm)
Re: First cut at git port to Cygwin, Alex Riesen, (Tue Oct 4, 9:06 am)
Re: First cut at git port to Cygwin, Johannes Schindelin, (Thu Sep 29, 4:46 am)
Re: First cut at git port to Cygwin, H. Peter Anvin, (Thu Sep 29, 1:25 pm)
Re: First cut at git port to Cygwin, H. Peter Anvin, (Thu Sep 29, 12:11 pm)
Re: First cut at git port to Cygwin, Martin Langhoff, (Thu Sep 29, 12:46 am)
Re: First cut at git port to Cygwin, H. Peter Anvin, (Thu Sep 29, 2:19 am)
Re: First cut at git port to Cygwin, Junio C Hamano, (Thu Sep 29, 1:13 am)
Re: First cut at git port to Cygwin, Junio C Hamano, (Thu Sep 29, 12:30 am)
Re: First cut at git port to Cygwin, H. Peter Anvin, (Thu Sep 29, 1:07 am)
speck-geostationary