Thread (39 messages) 39 messages, 3 authors, 2016-11-09

Re: [PATCH v1 09/19] config: add git_config_get_max_percent_split_change()

From: Christian Couder <hidden>
Date: 2016-10-29 22:25:00

On Tue, Oct 25, 2016 at 12:06 PM, Duy Nguyen [off-list ref] wrote:
On Sun, Oct 23, 2016 at 4:26 PM, Christian Couder
[off-list ref] wrote:
quoted
This new function will be used in a following commit to get the
+int git_config_get_max_percent_split_change(void)
+{
+       int val = -1;
+
+       if (!git_config_get_int("splitindex.maxpercentchange", &val)) {
+               if (0 <= val && val <= 100)
+                       return val;
+
+               error("splitindex.maxpercentchange value '%d' "
We should keep camelCase form for easy reading. And wrap this string with _().
Ok, it will be in the next version.

Thanks,
Christian.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help