Deleting binary file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Why can't I delete binary file via patch?

git-init-db
defaulting to local storage area
cp /bin/sh .
git-add sh
git-commit -m 'test'
Committing initial tree efa3b1f9fdc4cdb8aab5bf869f580664a52ac04c
git-rm sh
rm 'sh'
rm sh
git-commit -m 'test'
git-format-patch HEAD^
0001-test.txt
git-reset --hard HEAD^1
git-applymbox 0001-test.txt
1 patch(es) to process.

Applying 'test'

error: No changes
cat 0001-test.txt
From 9fd9a46e5404e7c389cfb48026b68d46faa47081 Mon Sep 17 00:00:00 2001
From: Kirill A. Shutemov <k.shutemov@xxxxxxxxx>
Date: Wed, 8 Nov 2006 11:19:35 +0200
Subject: [PATCH] test

---
sh |  Bin
1 files changed, 0 insertions(+), 0 deletions(-)

diff --git a/sh b/sh
deleted file mode 100755
index a57a92a..0000000
Binary files a/sh and /dev/null differ
--
1.4.3.GIT
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]