git - Can gitattributes filters remove or add files? -


git attributes can used set filters per file make content of working directory transformed version of repository content. wondering if used clean .srcinfo files have dealt in archlinux' new aur version 4.

essentially, there 2 files called pkgbuild , .srcinfo both have stored in repository. case can safely assumed .srcinfo generated running program called mksrcinfo on pkgbuild. want both show in repository, pkgbuild in local tree.

how can set filter pair that

  • smudge removes .srcinfo, or better not create begin and

  • clean adds .srcinfo, generated running mksrcinfo pkgbuild?


Comments

Popular posts from this blog

OpenCV OpenCL: Convert Mat to Bitmap in JNI Layer for Android -

android - org.xmlpull.v1.XmlPullParserException: expected: START_TAG {http://schemas.xmlsoap.org/soap/envelope/}Envelope -

python - How to remove the Xframe Options header in django? -