[PATCH 0/1] unpack-trees: exit check_updates() early if updates are not wanted
- From
Elijah Newren via GitGitGadget <gitgitgadget@gmail.com>
- Date
- Jan 3, 2020, 21:42 UTC
- Message-ID
- <pull.686.git.git.1578087730.gitgitgadget@gmail.com>
In trying to understand check_updates(), I found I was able to simplify the function by making it exit early when updates are not wanted.
Elijah Newren (1): unpack-trees: exit check_updates() early if updates are not wanted
unpack-trees.c | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-)
base-commit: 8679ef24ed64018bb62170c43ce73e0261c0600a Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-git-686%2Fnewren%2Fsimplify-check-updates-v1 Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-git-686/newren/simplify-check-updates-v1 Pull-Request: https://github.com/git/git/pull/686
-- gitgitgadget