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

Re: Bug in Git-Gui - Creates corrupt patch

From
Grzegorz Kossakowski <grek@tuffmail.com>
Date
Mar 2, 2009, 14:34 UTC
Message-ID
<49ABEE6C.3000500@tuffmail.com>
In-Reply-To
<49A567C9.5050203@viscovery.net>
Johannes Sixt pisze:
Show 9 quoted lines
> 4jxDQ6FQee2H@dyweni.com schrieb:
>> 3. Using git-gui, try to stage *only* the last line marked for removal
>> (should be '-	}').
>>
>> I get 'fatal: corrupt patch at line 22'.
> 
> "Stage/Unstage line" does not work for files that have
> 
> \ No newline at end of file
I've just stumpled across this problem. Does above imply that reported problem is not considered as a bug?
If so I believe that git gui should enforce new lines at the end of a file or at least provide more meaningful error msg.
-- 
Best regards,
Grzegorz Kossakowski
Previous: 4jxdq6fqee2h@dyweni.comNext: Johannes Sixt
Message 6 of 7 in “Bug in Git-Gui - Creates corrupt patch”
  1. 4jxdq6fqee2h@dyweni.comFeb 25, 2009
  2. 4jxdq6fqee2h@dyweni.comFeb 25, 2009
  3. Johannes SixtFeb 25, 2009
  4. 4jxdq6fqee2h@dyweni.comFeb 25, 2009
  5. 4jxdq6fqee2h@dyweni.comFeb 25, 2009
  6. Grzegorz KossakowskiMar 2, 2009
  7. Johannes SixtMar 2, 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.