Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH] builtin-name-rev: refactor stdin handling to its own function

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:45:05

Pieter de Bie [off-list ref] writes:
Signed-off-by: Pieter de Bie <redacted>
---

    On 1 aug 2008, at 09:23, Junio C Hamano wrote:
    >Is it just me to find that this part is getting indented too deeply to be
    >readable?

    How about something like this then?
Much nicer, except that this refactoring should come first and then a new
feature.  Dropping those extra five 's' so that it would compile would be
a nice bonus as well ;-)
...
+
+			if (name_only) {
+				fwrite(p_start, p - p_start + 1 - 40,
+					1, stdout);sssss
+				printf(name);
+			}
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help