summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2013-10-04 16:51:38 +0100
committerTom Hacohen <tom@stosb.com>2013-10-04 16:51:38 +0100
commitc24c1546627e53563d3f4ebec0f5babdd60be3d3 (patch)
tree6c83cc79bd560f57d777d72215cc3904faf1703d
parent706c8e1bd7cd6f9107e104960c8f376c5899b22b (diff)
Document the rename_*.sh scripts.
-rwxr-xr-xrename_authors.sh2
-rwxr-xr-xrename_authors_manual.sh4
-rwxr-xr-xrename_patch_by.sh2
3 files changed, 8 insertions, 0 deletions
diff --git a/rename_authors.sh b/rename_authors.sh
index 673a619..bc92b4e 100755
--- a/rename_authors.sh
+++ b/rename_authors.sh
@@ -1,5 +1,7 @@
1#!/bin/bash 1#!/bin/bash
2 2
3# Update the committer and author according to the git_authors file.
4
3DEVS_PATH='/home/likewise-open/SERILOCAL/d.willmann/scm/migration/git_authors' 5DEVS_PATH='/home/likewise-open/SERILOCAL/d.willmann/scm/migration/git_authors'
4 6
5while read dir 7while read dir
diff --git a/rename_authors_manual.sh b/rename_authors_manual.sh
index 6bf0a9f..5fdb637 100755
--- a/rename_authors_manual.sh
+++ b/rename_authors_manual.sh
@@ -1,5 +1,9 @@
1#!/bin/bash 1#!/bin/bash
2 2
3# Resets AUTHOR to the COMMITTER. If it's wrong, it's wrong, we don't bother
4# fixing things.
5# List of broken committer names is in manual-author-reset
6
3DEVS_PATH='/home/likewise-open/SERILOCAL/d.willmann/scm/migration/manual-author-reset' 7DEVS_PATH='/home/likewise-open/SERILOCAL/d.willmann/scm/migration/manual-author-reset'
4 8
5MY_AUTHOR="$GIT_AUTHOR_NAME <$GIT_AUTHOR_EMAIL>" 9MY_AUTHOR="$GIT_AUTHOR_NAME <$GIT_AUTHOR_EMAIL>"
diff --git a/rename_patch_by.sh b/rename_patch_by.sh
index aeef33a..349653c 100755
--- a/rename_patch_by.sh
+++ b/rename_patch_by.sh
@@ -1,5 +1,7 @@
1#!/bin/bash 1#!/bin/bash
2 2
3# Set correct author according to "Patch by:".
4
3PATCH_BY=$(git log $GIT_COMMIT^..$GIT_COMMIT |grep "Patch by:") 5PATCH_BY=$(git log $GIT_COMMIT^..$GIT_COMMIT |grep "Patch by:")
4 6
5if [ "x$PATCH_BY" != "x" ]; then 7if [ "x$PATCH_BY" != "x" ]; then