From mboxrd@z Thu Jan 1 00:00:00 1970 From: Boaz Harrosh Subject: [PATCH 1/3] exofs: move osd.c to ios.c Date: Tue, 10 Nov 2009 19:16:45 +0200 Message-ID: <4AF99FFD.1070000@panasas.com> References: <4AF99F10.50703@panasas.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit To: open-osd , linux-fsdevel Return-path: Received: from dip-colo-pa.panasas.com ([67.152.220.67]:57552 "EHLO daytona.int.panasas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1757308AbZKJRQn (ORCPT ); Tue, 10 Nov 2009 12:16:43 -0500 In-Reply-To: <4AF99F10.50703@panasas.com> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: If I do a "git mv" together with a massive code change and commit in one patch, git looses the rename and records a delete/new instead. This is bad because I want a rename recorded so later rebased/cherry-picked patches to the old name will work. Also the --follow is lost. Signed-off-by: Boaz Harrosh --- fs/exofs/Kbuild | 2 +- fs/exofs/{osd.c => ios.c} | 0 2 files changed, 1 insertions(+), 1 deletions(-) rename fs/exofs/{osd.c => ios.c} (100%) diff --git a/fs/exofs/Kbuild b/fs/exofs/Kbuild index cc2d22d..2d0f757 100644 --- a/fs/exofs/Kbuild +++ b/fs/exofs/Kbuild @@ -12,5 +12,5 @@ # Kbuild - Gets included from the Kernels Makefile and build system # -exofs-y := osd.o inode.o file.o symlink.o namei.o dir.o super.o +exofs-y := ios.o inode.o file.o symlink.o namei.o dir.o super.o obj-$(CONFIG_EXOFS_FS) += exofs.o diff --git a/fs/exofs/osd.c b/fs/exofs/ios.c similarity index 100% rename from fs/exofs/osd.c rename to fs/exofs/ios.c -- 1.6.5.1