Thanks for the response. It feels like if I want to do this, I need to make a custom git gui that collects the objects and then runs git add like you show.
On Friday, October 18, 2013 6:45:02 AM UTC-4, Konstantin Khomoutov wrote: > > On Thu, 17 Oct 2013 15:55:52 -0700 (PDT) > Aaron Cook <[email protected] <javascript:>> wrote: > > > Is it possible to configure git to see a group of files as a singular > > object? > > For instance, I have a directory with several files: > > > > myjunk/text.txt > > myjunk/somefile.exe > > myjunk/anotherfile.odt > > > > Whenever a modification is made, I would like to see just "myjunk" as > > modified, not the files beneath. For all intensive purposes, git > > treats myjunk/* as a single binary file. > > I think that no, it's impossible: Git does not track directories, and > only copes with them because it has to (filesystems on mainstream OSes > are hierarchical). > > On the other hand, you could use the fact `git add` is able to add > multiple files in one go: > > git add myjunk > > or > > git add 'myjunk/*' > > (notice that I protected the asterisk from the shell). > -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
