From: Junio C Hamano <gitster@pobox.com>
To: Jens Lehmann <Jens.Lehmann@web.de>
Cc: Git Mailing List <git@vger.kernel.org>,
Phil Hord <phil.hord@gmail.com>, Heiko Voigt <hvoigt@hvoigt.net>,
"W. Trevor King" <wking@tremily.us>,
Peter Collingbourne <peter@pcc.me.uk>
Subject: Re: [PATCH/RFC 2/3] Teach mv to move submodules using a gitfile
Date: Tue, 09 Apr 2013 16:08:56 -0700 [thread overview]
Message-ID: <7vwqsbnvxz.fsf@alter.siamese.dyndns.org> (raw)
In-Reply-To: <515C8987.2060804@web.de> (Jens Lehmann's message of "Wed, 03 Apr 2013 21:56:55 +0200")
Jens Lehmann <Jens.Lehmann@web.de> writes:
> diff --git a/submodule.c b/submodule.c
> index 975bc87..eba9b42 100644
> --- a/submodule.c
> +++ b/submodule.c
> @@ -1001,3 +1001,67 @@ int merge_submodule(unsigned char result[20], const char *path,
> ...
> + if (!fp)
> + die(_("Could not create git link %s"), gitfile_name.buf);
> + fprintf(fp, gitfile_content.buf);
Perhaps.
fprintf(fp, "%s", gitfile_content.buf);
next prev parent reply other threads:[~2013-04-09 23:09 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-03 19:54 [PATCH/RFC 0/3] Teach mv to move submodules Jens Lehmann
2013-04-03 19:56 ` [PATCH/RFC 1/3] Teach mv to move submodules together with their work trees Jens Lehmann
2013-04-11 9:12 ` Ramkumar Ramachandra
2013-04-11 16:27 ` Junio C Hamano
2013-04-11 16:46 ` Junio C Hamano
2013-04-03 19:56 ` [PATCH/RFC 2/3] Teach mv to move submodules using a gitfile Jens Lehmann
2013-04-09 23:08 ` Junio C Hamano [this message]
2013-04-10 16:59 ` Jens Lehmann
2013-04-10 21:06 ` [PATCH v2 " Jens Lehmann
2013-04-11 8:37 ` Ramkumar Ramachandra
2013-04-11 18:43 ` Junio C Hamano
2013-04-03 19:57 ` [PATCH/RFC 3/3] Teach mv to update the path entry in .gitmodules for moved submodules Jens Lehmann
2013-04-11 10:06 ` Ramkumar Ramachandra
2013-04-11 16:59 ` Junio C Hamano
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
List information: http://vger.kernel.org/majordomo-info.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7vwqsbnvxz.fsf@alter.siamese.dyndns.org \
--to=gitster@pobox.com \
--cc=Jens.Lehmann@web.de \
--cc=git@vger.kernel.org \
--cc=hvoigt@hvoigt.net \
--cc=peter@pcc.me.uk \
--cc=phil.hord@gmail.com \
--cc=wking@tremily.us \
/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.
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
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 read-only IMAP folder(s) and NNTP newsgroup(s).