diff options
author | Bert Wesarg <bert.wesarg@googlemail.com> | 2020-01-27 08:04:31 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-02-10 10:52:10 -0800 |
commit | f2a2327a4a6a9bccade6df2bed1fdc3a8ab37f4c (patch) | |
tree | 4fe82fc9fa6fd1366d7ffa392be73e633a252a45 /builtin/commit-tree.c | |
parent | remote rename/remove: handle branch.<name>.pushRemote config values (diff) | |
download | tgif-f2a2327a4a6a9bccade6df2bed1fdc3a8ab37f4c.tar.xz |
config: provide access to the current line number
Users are nowadays trained to see message from CLI tools in the form
<file>:<lno>: …
To be able to give such messages when notifying the user about
configurations in any config file, it is currently only possible to get
the file name (if the value originates from a file to begin with) via
`current_config_name()`. Now it is also possible to query the current line
number for the configuration.
Signed-off-by: Bert Wesarg <bert.wesarg@googlemail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit-tree.c')
0 files changed, 0 insertions, 0 deletions