diff options
author | nickelc <constantin.nickel@gmail.com> | 2023-03-09 11:15:04 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-09 05:15:04 -0500 |
commit | 6a37445efbe49bbcaff9b90ebdbf3d738b59badd (patch) | |
tree | e65f9920ed8194f1e9ce8a6fd3bedd2ff8212d64 /src/cli.rs | |
parent | b614b1cb1dddc42d5a1b6c4aa5f6e2665debb1d9 (diff) |
Add methods for getting `GitConfig` as reference (#1336)
Diffstat (limited to 'src/cli.rs')
-rw-r--r-- | src/cli.rs | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1214,6 +1214,10 @@ impl Opt { }) .collect() } + + pub fn git_config(&self) -> Option<&GitConfig> { + self.git_config.as_ref() + } } // Option names to exclude when listing options to process for various purposes. These are all |