The following commit has been merged in the master branch:
commit 6aaf7f4eabccb314268a0b695c8cc99011652bff
Author: Christoph Berg <[email protected]>
Date:   Sat Feb 12 14:30:37 2011 +0100

    Add some comments to make reading the code easier

diff --git a/scripts/debcommit.pl b/scripts/debcommit.pl
index b7901d9..4279e41 100755
--- a/scripts/debcommit.pl
+++ b/scripts/debcommit.pl
@@ -336,6 +336,8 @@ if (@files_to_commit && 
!grep(/$changelog/,@files_to_commit)) {
     push @files_to_commit, $changelog;
 }
 
+# Main program
+
 my $prog=getprog();
 if (! defined $changelog) {
     die "debcommit: Could not find a Debian changelog\n";
@@ -383,6 +385,8 @@ if (not $confirm or confirm($message)) {
     tag($version) if $release;
 }
 
+# End of code, only subs below
+
 sub getprog {
     if (-d "debian") {
        if (-d "debian/.svn") {
@@ -831,6 +835,7 @@ sub git_repo_has_commits {
     system $command;
     return ($? >> 8 == 0) ? 1 : 0;
 }
+
 =head1 LICENSE
 
 This code is copyright by Joey Hess <[email protected]>, all rights reserved.

-- 
Git repository for devscripts


-- 
To unsubscribe, send mail to [email protected].

Reply via email to