summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Vandiver <alexmv@dropbox.com>2018-01-02 19:04:51 -0800
committerJunio C Hamano <gitster@pobox.com>2018-01-04 15:06:42 -0800
commit4c1d1266aba87d69c98a8f71038a9869c5ae0a71 (patch)
treeb3f9c470821652440fe65c818cf351973f67d024
parent52015aaf9d19c97b52c47c7046058e6d029ff856 (diff)
downloadgit-4c1d1266aba87d69c98a8f71038a9869c5ae0a71.tar.gz
dir.c: update comments to match argument name
Signed-off-by: Alex Vandiver <alexmv@dropbox.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--dir.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dir.c b/dir.c
index 3c54366a17..f0ddf0caf3 100644
--- a/dir.c
+++ b/dir.c
@@ -745,9 +745,9 @@ static void invalidate_directory(struct untracked_cache *uc,
* an index if 'istate' is non-null), parse it and store the
* exclude rules in "el".
*
- * If "ss" is not NULL, compute SHA-1 of the exclude file and fill
+ * If sha1_stat is not NULL, compute SHA-1 of the exclude file and fill
* stat data from disk (only valid if add_excludes returns zero). If
- * ss_valid is non-zero, "ss" must contain good value as input.
+ * sha1_stat.valid is non-zero, sha1_stat must contain good value as input.
*/
static int add_excludes(const char *fname, const char *base, int baselen,
struct exclude_list *el,