[Webkit-unassigned] [Bug 57686] webkit-patch post does not properly recognize renamed files with git
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Apr 1 17:37:40 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=57686
--- Comment #2 from Csaba Osztrogonac <ossy at webkit.org> 2011-04-01 17:37:40 PST ---
Let's see a simple example which modifies a file and rename an other file.
$ git diff
diff --git a/mod.txt b/mod.txt
index e965047..557db03 100644
--- a/mod.txt
+++ b/mod.txt
@@ -1 +1 @@
-Hello
+Hello World
$ git diff --staged
diff --git a/dst.txt b/dst.txt
new file mode 100644
index 0000000..e69de29
diff --git a/src.txt b/src.txt
deleted file mode 100644
index e69de29..0000000
$ git diff HEAD
diff --git a/dst.txt b/dst.txt
new file mode 100644
index 0000000..e69de29
diff --git a/mod.txt b/mod.txt
index e965047..557db03 100644
--- a/mod.txt
+++ b/mod.txt
@@ -1 +1 @@
-Hello
+Hello World
diff --git a/src.txt b/src.txt
deleted file mode 100644
index e69de29..0000000
$ git diff HEAD -M
diff --git a/src.txt b/dst.txt
similarity index 100%
rename from src.txt
rename to dst.txt
diff --git a/mod.txt b/mod.txt
index e965047..557db03 100644
--- a/mod.txt
+++ b/mod.txt
@@ -1 +1 @@
-Hello
+Hello World
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list