summaryrefslogtreecommitdiff
path: root/git-gui/lib/win32_shortcut.js
diff options
context:
space:
mode:
authorJeff Hostetler <jeffhost@microsoft.com>2022-05-26 21:47:05 +0000
committerJunio C Hamano <gitster@pobox.com>2022-05-26 15:59:26 -0700
commit9968ed73ff8bf00d06862e6653451faeb008afef (patch)
treecefe5a8c789806be0c925e3d634b197d079bb5cf /git-gui/lib/win32_shortcut.js
parentddc5dacfb368d4903f5dd475897e5e11772f9970 (diff)
unpack-trees: initialize fsmonitor_has_run_once in o->result
Initialize `o->result.fsmonitor_has_run_once` based upon value in `o->src_index->fsmonitor_has_run_once` to prevent a second fsmonitor query during the tree traversal and possibly getting a skewed view of the working directory. The checkout code has already talked to the fsmonitor and the traversal is updating the index as it traverses, so there is no need to query the fsmonitor. Signed-off-by: Jeff Hostetler <jeffhost@microsoft.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-gui/lib/win32_shortcut.js')
0 files changed, 0 insertions, 0 deletions