Questions tagged [smudge]

4 questions
1
vote
1 answer

Replace several information during git commit using filter

In my source code (".ino" file), I have saved my Wifi credentials. Using git commit, my personal Wifi information should be replaced by general information. Therefore I'm using the "clean/smudge filter" which is explained here and here. In my…
N. Her
  • 33
  • 5
1
vote
0 answers

splitting single file into multipe files on git commit, and merging them again on git checkout

A proprietary industry sensor configuration software stores various settings in about 500 XML files. Multiple developers have to edit these settings (using that software). I want to use git version control on the xml files. The xml files…
HugoRune
  • 13,157
  • 7
  • 69
  • 144
1
vote
1 answer

Why is my clean filter running instead of my smudge filter when I checkout a branch?

Background: I'm working on a repository that houses files needed for another program to run. Due to the nature of the other program, files that need to call other files have to do so with full file paths. All these files are stored in the…
0
votes
0 answers

Git LFS: How to get all smudge errors at once?

I want to get a list of all the files that fail smudge in current branch when trying to pull. But git lfs pull lists only one object at a time when smudge filter fails. It lists the next file only on resolving the smudge issue and re-running pull.…
harish
  • 1,836
  • 3
  • 21
  • 26