[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Quilt-dev] After refresh, file renames are transformed to addition/dele
From: |
Fab Stz |
Subject: |
[Quilt-dev] After refresh, file renames are transformed to addition/deletion |
Date: |
Mon, 29 Jan 2024 09:57:12 +0100 |
Hello,
I'm seeing this behavior [1]:
I have a patch with this content to rename a file
diff --git a/qttools/src/assistant/qlitehtml/src/3rdparty/GUMBO-AUTHORS.txt b/
qttools/src/assistant/qlitehtml/src/3rdparty/litehtml/src/gumbo/GUMBO-
AUTHORS.txt
similarity index 100%
rename from GUMBO-AUTHORS.txt
rename to GUMBO-AUTHORS.txt
It applies fine, but when I refresh, it get transformed to a file addition + a
file deletion with their respective full content.
Is it possible to preserve this?
I also noticed another behavior [2]:
If I have a rename A->B, and then a modification of content for B, "push"
applies fine. But when I "pop" it complains that the file is missing.
Something probably related to the order in which the blocks of the patch file
are processed. It seems it processes them in the order of the chunks from top
to bottom, even during "pop". Is this intended?
Regards
Fab
- [Quilt-dev] After refresh, file renames are transformed to addition/deletion,
Fab Stz <=