diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2019-04-10 22:56:22 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2019-04-16 16:27:18 +0300 |
commit | bf02b66c61d941a60e45520ef77f677dad36557e (patch) | |
tree | 0d61c6a06e868aeee2d6375a8581f87a47eac5b1 /bdep/git.cxx | |
parent | 842b2c6604be98a7f5d05cb674ae121d716eeb64 (diff) |
Add --amend and --squash options to bdep-release
Diffstat (limited to 'bdep/git.cxx')
-rw-r--r-- | bdep/git.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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<string> - git_line (process&& pr, fdpipe&& pipe, bool ie) + git_line (process&& pr, fdpipe&& pipe, bool ie, char delim) { optional<string> 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. |