Browse Source

Updating a few comments/help

spesk1 5 years ago
parent
commit
4c3a5ab560
2 changed files with 4 additions and 2 deletions
  1. 1 0
      lib/SimplyGit/Git.pm
  2. 3 2
      sg

+ 1 - 0
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);
 	}

+ 3 - 2
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
 ;