git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Junio C Hamano <gitster@pobox.com>
To: Alex Riesen <raa.lkml@gmail.com>
Cc: git@vger.kernel.org, Nicolas Pitre <nico@cam.org>
Subject: Re: Fix t5303 (the test case for pack corruptions) on Windows
Date: Wed, 25 Jun 2008 10:42:07 -0700	[thread overview]
Message-ID: <7vskv11keo.fsf@gitster.siamese.dyndns.org> (raw)
In-Reply-To: <20080625164438.GA4039@steel.home> (Alex Riesen's message of "Wed, 25 Jun 2008 18:44:38 +0200")

Alex Riesen <raa.lkml@gmail.com> writes:

> The perldiag(1) has following to say about this:
>
>     "Can't do inplace edit without backup"
>
> 	(F) You're on a system such as MS-DOS that gets confused if
> 	you try reading from a deleted (but still opened) file. You
> 	have to say -i.bak, or some such.

Thanks.  By the way, there are others.

t/t9106-git-svn-dcommit-clobber-series.sh:23:		perl -i -p -e "s/^58$/5588/" file &&
t/t9106-git-svn-dcommit-clobber-series.sh:24:		perl -i -p -e "s/^61$/6611/" file &&
t/t9106-git-svn-dcommit-clobber-series.sh:43:	perl -i -p -e 's/^4\$/4444/' file &&
t/t9106-git-svn-dcommit-clobber-series.sh:44:	perl -i -p -e 's/^7\$/7777/' file &&
templates/hooks--prepare-commit-msg.sample:25:    perl -i -ne 's/^/# /, s/^# #/#/ if /^Conflicts/ .. /#/; print' "$1" ;;
templates/hooks--prepare-commit-msg.sample:28:#   perl -i -pe '

  reply	other threads:[~2008-06-25 17:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-24  1:24 [PATCH 3/3] test case for pack resilience against corruptions Nicolas Pitre
2008-06-25 16:44 ` Fix t5303 (the test case for pack corruptions) on Windows Alex Riesen
2008-06-25 17:42   ` Junio C Hamano [this message]
2008-06-25 18:35     ` [PATCH] " Alex Riesen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7vskv11keo.fsf@gitster.siamese.dyndns.org \
    --to=gitster@pobox.com \
    --cc=git@vger.kernel.org \
    --cc=nico@cam.org \
    --cc=raa.lkml@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).