[v2,2/6] dir: fix broken comment
diff mbox series

Message ID 2ceb64ae61eccd662922f6156e00d4044bef515c.1580495486.git.gitgitgadget@gmail.com
State New
Headers show
Series
  • Avoid multiple recursive calls for same path in read_directory_recursive()
Related show

Commit Message

Elijah Newren via GitGitGadget Jan. 31, 2020, 6:31 p.m. UTC
From: Elijah Newren <newren@gmail.com>

Signed-off-by: Elijah Newren <newren@gmail.com>
---
 dir.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch
diff mbox series

diff --git a/dir.c b/dir.c
index 68c56aeddb..c358158f55 100644
--- a/dir.c
+++ b/dir.c
@@ -2259,7 +2259,7 @@  static enum path_treatment read_directory_recursive(struct dir_struct *dir,
 					add_untracked(untracked, path.buf + baselen);
 				break;
 			}
-			/* skip the dir_add_* part */
+			/* skip the add_path_to_appropriate_result_list() */
 			continue;
 		}