From bf02b66c61d941a60e45520ef77f677dad36557e Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Wed, 10 Apr 2019 22:56:22 +0300 Subject: Add --amend and --squash options to bdep-release --- bdep/git.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bdep/git.cxx') diff --git a/bdep/git.cxx b/bdep/git.cxx index 91964aa..9509275 100644 --- a/bdep/git.cxx +++ b/bdep/git.cxx @@ -45,7 +45,7 @@ namespace bdep } optional - git_line (process&& pr, fdpipe&& pipe, bool ie) + git_line (process&& pr, fdpipe&& pipe, bool ie, char delim) { optional r; @@ -56,7 +56,7 @@ namespace bdep ifdstream is (move (pipe.in), fdstream_mode::skip, ifdstream::badbit); string l; - if (!eof (getline (is, l))) + if (!eof (getline (is, l, delim))) r = move (l); is.close (); // Detect errors. -- cgit v1.1