diff options
author | Carlos Martín Nieto <cmn@dwim.me> | 2013-08-17 07:58:55 +0200 |
---|---|---|
committer | Carlos Martín Nieto <cmn@dwim.me> | 2013-09-06 19:56:51 +0200 |
commit | fb23d05f0bc3084cdb5a9737b1c678817c5bc9e8 (patch) | |
tree | 3d9851a8a2f823dbd12cf7dbd97469d3c64d0567 /src/commit.c | |
parent | 51a5e13347a0f834e2d847b46d2f6002f03bd49f (diff) | |
download | libgit2-fb23d05f0bc3084cdb5a9737b1c678817c5bc9e8.tar.gz |
revwalk: make mark_unintersting use a loop
Using a recursive function can blow the stack when dealing with long
histories. Use a loop instead to limit the call chain depth.
This fixes #1223.
Diffstat (limited to 'src/commit.c')
0 files changed, 0 insertions, 0 deletions