aboutsummaryrefslogtreecommitdiff
path: root/merge-blobs.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2017-01-27 18:01:51 -0800
committerJunio C Hamano <gitster@pobox.com>2017-02-01 13:46:52 -0800
commit4c0ce0742b19c2a430b809224911b9212313265f (patch)
treebbc436fc50fe4c90351ab21e0e19dec4bb4004c7 /merge-blobs.h
parent860a74d9d909002b16c50b58050908756065125d (diff)
downloadgit-4c0ce0742b19c2a430b809224911b9212313265f.tar.gz
git-4c0ce0742b19c2a430b809224911b9212313265f.tar.xz
attr.c: add push_stack() helper
There are too many repetitious "I have this new attr_stack element; push it at the top of the stack" sequence. The new helper function push_stack() gives us a way to express what is going on at these places, and as a side effect, halves the number of times we mention the attr_stack global variable. Signed-off-by: Junio C Hamano <gitster@pobox.com> Signed-off-by: Stefan Beller <sbeller@google.com> Signed-off-by: Brandon Williams <bmwill@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'merge-blobs.h')
0 files changed, 0 insertions, 0 deletions