git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] Remove unused t/t8005/iso8859-5.txt file

From
Junio C Hamano <gitster@pobox.com>
Date
Aug 30, 2009, 20:14 UTC
Message-ID
<7v3a79dpox.fsf@alter.siamese.dyndns.org>
In-Reply-To
<20090829170809.6117@nanako3.lavabit.com>
Nanako Shiraishi <nanako3@lavabit.com> writes:
Show 12 quoted lines
> Quoting Junio C Hamano <gitster@pobox.com>
>
>> Out of curiosity, how did you find this?
>
> Soon after you posted your original in
> http://thread.gmane.org/gmane.comp.version-control.git/121881, I applied
> it to my tree, and I have been running 'git pull --rebase' for ever. I
> noticed that rebase didn't remove the commit, even after your 54bc13c.
>
> Today I found that the rebased patch only removed that file. The real
> question is how you lost the deletion of the file when you applied. What
> happened?
My stupidity, and a little bit of danger in trusting "am -3" blindly.

The patch sent to the list was against the master, but the actual commit created, 54bc13c, was on maint. Back then, there was a commit in master but not in maint that stopped using cp1251.txt and started using iso8859-5.txt instead.

Because maint did not have iso8859-5.txt (which the patch wanted to remove), when "am -3" did its fake 3-way merge, the removal of the path did not even conflict. It was the case of "neither side wants to have this file". As the result, cp1251.txt was left in the tree (which is half-Ok, even though the updated test never looked at it anymore), and merging the result back to master did not touch iso8859-5.txt.

Previous: Nanako Shiraishi
Message 4 of 4 in “Remove unused t/t8005/iso8859-5.txt file”
  1. Remove unused t/t8005/iso8859-5.txt fileNanako Shiraishi, Aug 29, 2009
  2. Junio C HamanoAug 29, 2009
  3. Nanako ShiraishiAug 29, 2009
  4. Junio C HamanoAug 30, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.