From 94e98b452130115fd76aea12b978d9e0bfd77a88 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Fri, 16 Aug 2019 19:45:45 +0300 Subject: Make load_default_options() to throw pair instead of system_error --- libbutl/git.cxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libbutl/git.cxx') 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 */); -- cgit v1.1