commit | 55fe6f51f41f254d3d87994d18bff04664aa013b | [log] [tgz] |
---|---|---|
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | Sun Mar 08 17:12:24 2015 +0700 |
committer | Junio C Hamano <gitster@pobox.com> | Thu Mar 12 13:45:08 2015 -0700 |
tree | acfff44d68b75fb5b6a7b0b5d40f2fd23a74e35a | |
parent | 7a9409cb0104466eba32162f5bc4e5ab46130f02 [diff] |
dir.c: optionally compute sha-1 of a .gitignore file This is not used anywhere yet. But the goal is to compare quickly if a .gitignore file has changed when we have the SHA-1 of both old (cached somewhere) and new (from index or a tree) versions. Helped-by: Junio C Hamano <gitster@pobox.com> Helped-by: Torsten Bögershausen <tboegi@web.de> Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>