diff options
author | Carlos Martín Nieto <cmn@dwim.me> | 2014-03-18 22:16:58 +0100 |
---|---|---|
committer | Carlos Martín Nieto <cmn@dwim.me> | 2014-03-19 15:54:33 +0100 |
commit | 1afe1400433f010734ae4c43bf35dcc94edcc9de (patch) | |
tree | d2a7143551040175da2a5f13948ccc68f260d7ff /tests/diff/submodules.c | |
parent | bac95e6e1e99b1e364c5ebd39887a8e24bc1ad9d (diff) | |
download | libgit2-1afe1400433f010734ae4c43bf35dcc94edcc9de.tar.gz |
refdb: don't update when there's no need
If the caller wants to update a ref to point to the same target as it
currently has, we should return early and avoid writing to the reflog.
Diffstat (limited to 'tests/diff/submodules.c')
0 files changed, 0 insertions, 0 deletions