aboutsummaryrefslogtreecommitdiff
path: root/libbutl/git.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-08-16 19:45:45 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2019-08-16 20:57:12 +0300
commit94e98b452130115fd76aea12b978d9e0bfd77a88 (patch)
tree9b9069e58e4fcc1c2cc0e1e9f67799a43287aaa8 /libbutl/git.cxx
parent7eff6adfe294038c723c8059a5993a533551f6cc (diff)
Make load_default_options() to throw pair<path, system_error> instead of system_error
Diffstat (limited to 'libbutl/git.cxx')
-rw-r--r--libbutl/git.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/libbutl/git.cxx b/libbutl/git.cxx
index 0f58398..aa0a687 100644
--- a/libbutl/git.cxx
+++ b/libbutl/git.cxx
@@ -50,6 +50,9 @@ namespace butl
// .git can be either a directory or a file in case of a submodule or a
// separate working tree.
//
+ // NOTE: remember to update load_default_options_files() if changing
+ // anything here!
+ //
return entry_exists (d / ".git",
true /* follow_symlinks */,
true /* ignore_errors */);