Does graphify update consider Git working tree changes when updating the graph? #1249
Replies: 1 comment
-
|
This is an important distinction, especially for privacy and reproducibility. I would expect one of two possible behaviors:
For safety, I do not think users should have to guess which one graphify update uses. The command should ideally document this explicitly, because including uncommitted local files can accidentally add private work-in-progress content, secrets, notes, or generated files to the graph. The behavior I would personally expect from a safe default is:
If Graphify currently reads from disk, then I think graphify update should print a warning when the working tree is dirty, or at least provide a --committed-only / --ignore-untracked option. So the core question is: does graphify update index the Git commit state, or does it index the current filesystem snapshot? Either behavior can be valid, but it should be explicit because the privacy implications are quite different. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Specifically, if I have files that are:
and I run:
what content is used to update the graph?
Will the graph update include those files and their current contents from the working directory, or does it only use content from committed Git state?
This affects whether local, uncommitted content can become part of the graph, which is important for predictability and privacy/safety of local changes.
Beta Was this translation helpful? Give feedback.
All reactions