Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan H. Schönherr <schnhrr@cs.tu-berlin.de>2012-10-18 18:43:31 +0400
committerJunio C Hamano <gitster@pobox.com>2012-10-19 01:23:29 +0400
commitf9b7204b6d10a1429271fde8cbcdee56beb0e035 (patch)
tree25ea52b01d3f5b1e886e80d47bd7396acb8b98d7 /git-compat-util.h
parent94f6cdf693c10eaec5a7fcc4f0b5cb1e0ea80f1b (diff)
format-patch: introduce helper function last_line_length()
Currently, an open-coded loop to calculate the length of the last line of a string buffer is used in multiple places. Move that code into a function of its own. Signed-off-by: Jan H. Schönherr <schnhrr@cs.tu-berlin.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-compat-util.h')
0 files changed, 0 insertions, 0 deletions