commit 4c3a5ab560ffc6ee7b072b33895c703dbb4aed49
Author: spesk1 <spesk@pm.me>
Date: Tue May 21 17:32:59 2019 -0400
Updating a few comments/help
diff --git a/lib/SimplyGit/Git.pm b/lib/SimplyGit/Git.pm
index 4f14e3f..bd4dfba 100644
--- a/lib/SimplyGit/Git.pm
+++ b/lib/SimplyGit/Git.pm
@@ -186,6 +186,7 @@ sub stashAndReset {
shellex("$gitCmd stash",$logger);
my @stashList = split("\n", shellex("$gitCmd stash list",$logger));
my $stashCount = scalar @stashList;
+ # TODO: Don't need $stashCount, should just be able to iterate over @stashList
foreach my $stashNum ( 1..$stashCount ) {
shellex("$gitCmd stash drop 0",$logger);
}
diff --git a/sg b/sg
index 745468f..29ce565 100755
--- a/sg
+++ b/sg
@@ -85,8 +85,8 @@ Usage:
--push-all [--commit-msg]
Push all untracked and modified files
- * (can be used with interactive mode)
- * can provide a commit msg with --commit-msg (otherwise a generic will be provided)
+ * Can be used with interactive mode
+ * Can provide a commit msg with --commit-msg (otherwise a generic will be provided)
--interactive
Enable interactive mode with supported opts
@@ -99,6 +99,7 @@ Usage:
--configure-local-user [--user,--email]
Configure local git user
+ * Can be used with interactive mode
EOF
;