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

A good Git technique for referring back to original files

From
MMikeW <mw_phil@yahoo.co.uk>
Date
Feb 12, 2013, 08:11 UTC
Message-ID
<loom.20130212T085620-989@post.gmane.org>
Hi,

I have a client with an SDK product. Normally the SDK is used in its unpackaged form by the end-user, and that is the directory structure and set of files in which development work on the SDK functionality is performed.

However the SDK directory and content is generated from a packager which first runs on numerous other version controlled projects (currently CVS projects - this is unlikely to change).

This means that once changes to the unpackaged SDK have been tested, they have to be cross-referred back to the original projects and the changes ported back.

I have found it most convenient to control my in-SDK changes with git.

However it's still a royal pain to cross-refer and diff the changes back to the originals, especially since duplicate file names exist across the original projects which get filtered down to one relevant instance by the packager.

Since git is so good at tracking file content, I wondered whether there was any technique using git that would simplify the back-referencing task.

Failing a method using git 'normally', perhaps building a script on top of the git file system might be a possibility - if that is feasible ...

Thanks, MikeW

Next: Matthieu Moy
Message 1 of 6 in “A good Git technique for referring back to original files”
  1. MikeWFeb 12, 2013
  2. Matthieu MoyFeb 12, 2013
  3. MikeWFeb 12, 2013
  4. Paul CampbellFeb 12, 2013
  5. MikeWFeb 13, 2013
  6. MikeWFeb 13, 2013

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.