summaryrefslogtreecommitdiffstats
path: root/src/git.rs
diff options
context:
space:
mode:
authorqkzk <qu3nt1n@gmail.com>2022-11-07 14:10:03 +0100
committerqkzk <qu3nt1n@gmail.com>2022-11-07 14:10:03 +0100
commit47686209158824bee1aa3c48a82a112818209166 (patch)
tree393263d6166272fa49f5510c18bfef01aeef74bd /src/git.rs
parentbe8b01744e06d4b16a840fdd3ef0f4a5b8ade084 (diff)
git: origin of source code
Diffstat (limited to 'src/git.rs')
-rw-r--r--src/git.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/git.rs b/src/git.rs
index 8e121d8..6c9e47f 100644
--- a/src/git.rs
+++ b/src/git.rs
@@ -1,6 +1,8 @@
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
+// Copied from https://github.com/9ary/gitprompt-rs/blob/master/src/main.rs
+// Couldn't use without forking and I'm lazy.
use std::error::Error;
use std::fmt::Write as _;