I have 20 files in my repository foo1.c,foo2.c,...foo20.c I am working on foo2.c
Now whenever I do a git pull it pulls in and merges changes to all foo*.c including foo2.c I would like to prevent automatic merging of files that are modified in my repository.
For example someone might have added x=20 at the some location in the file which overrides my modification of x=0 at the top of the file.
Doing a automatic merge of Bob's changes with my changes can lead to hard to detect errors and if one of these errors has a potential of randomly rebooting the mars rover, I would prefer to manually review each change before I merge it.
So with this background I would like to know if there is a way for me to pull(fetch+merge) files that are not modified in my repo and only fetch changes which affect the files I am modifying so that I can do a manual diff+merge