Re: [PATCH v12 21/26] stash: optimize `get_untracked_files()` and `check_changes()`

2019-01-06 Thread Thomas Gummerer
On 12/20, Paul-Sebastian Ungureanu wrote: > This commits introduces a optimization by avoiding calling the > same functions again. For example, `git stash push -u` > would call at some points the following functions: > > * `check_changes()` (inside `do_push_stash()`) > * `do_create_stash()`, whi

[PATCH v12 21/26] stash: optimize `get_untracked_files()` and `check_changes()`

2018-12-20 Thread Paul-Sebastian Ungureanu
This commits introduces a optimization by avoiding calling the same functions again. For example, `git stash push -u` would call at some points the following functions: * `check_changes()` (inside `do_push_stash()`) * `do_create_stash()`, which calls: `check_changes()` and `get_untracked_files()