summaryrefslogtreecommitdiff
path: root/tests/diff/submodules.c
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2014-03-18 22:16:58 +0100
committerCarlos Martín Nieto <cmn@dwim.me>2014-03-19 15:54:33 +0100
commit1afe1400433f010734ae4c43bf35dcc94edcc9de (patch)
treed2a7143551040175da2a5f13948ccc68f260d7ff /tests/diff/submodules.c
parentbac95e6e1e99b1e364c5ebd39887a8e24bc1ad9d (diff)
downloadlibgit2-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