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

Followup: Managing EXCEL with git - diff problem.

From
Randall S. Becker <rsbecker@nexbridge.com>
Date
Apr 7, 2015, 12:55 UTC
Message-ID
<02d801d07132$159f76a0$40de63e0$@nexbridge.com>
Hi all,

There was a discussion a while back on how to manage EXCEL content in git. This involved a simple trick of modifying the file extension from .xlsx to .zip and unpacking the file - resulting in a whole bunch of XML files. Git is happy with that part and the content can be managed - slightly.

Unfortunately, EXCEL stores its XML content in single lines. Git has no problem with that either, as far as managing the content, but the lines can be really long. However, after about 20K in size, while the config:

	alias.wdiff=diff --color-words

The ability of git to report differences goes away - as in no output from git diff. This occurs on Windows and Linux under git 2.3.3 and git 2.3.0. I'm not sure whether this is a user error, a usage error, or an actual problem.

I had originally raised this as a SourceTree problem figuring it might be there: https://jira.atlassian.com/browse/SRCTREEWIN-3145

Any advice (preferably no teasing - :-) - I am considering smudging but would rather avoid that)?

Cheers, Randall

-- Brief whoami: NonStop&UNIX developer since approximately UNIX(421664400)/NonStop(211288444200000000) -- In my real life, I talk too much.

Next: John Keeping
Message 1 of 2 in “Followup: Managing EXCEL with git - diff problem.”
  1. Randall S. BeckerApr 7, 2015
  2. John KeepingApr 7, 2015

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.