Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 205690 Details for
Bug 361611
Correct Authors in CDO Git Repository
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
Script to rewrite Git history and adjust author names
conv-authors.sh (text/plain), 876 bytes, created by
Stefan Winkler
on 2011-10-21 04:06:37 EDT
(
hide
)
Description:
Script to rewrite Git history and adjust author names
Filename:
MIME Type:
Creator:
Stefan Winkler
Created:
2011-10-21 04:06:37 EDT
Size:
876 bytes
patch
obsolete
>#!/bin/bash > >export authors_file=/Users/stefan/work/author-conv-file > >git filter-branch -f --env-filter ' > >get_name () { > result=$(grep "^$1=" "$authors_file" | sed "s/^.*=\(.*\) <.*>$/\1/") > if [ ! -n "$result" ] > then > result=$2; > fi > echo $result; >} > >get_email () { > result=$(grep "^$1=" "$authors_file" | sed "s/^.*=.* <\(.*\)>$/\1/") > if [ ! -n "$result" ] > then > result=$2; > fi > echo $result; >} > >GIT_AUTHOR_NAME=$(get_name "$GIT_COMMITTER_NAME" "$GIT_AUTHOR_NAME") && > GIT_AUTHOR_EMAIL=$(get_email "$GIT_COMMITTER_NAME" "$GIT_AUTHOR_EMAIL") && > GIT_COMMITTER_NAME=$(get_name "$GIT_COMMITTER_NAME" "$GIT_COMMITTER_NAME") && > GIT_COMMITTER_EMAIL=$(get_name "$GIT_COMMITTER_NAME" "$GIT_COMMITTER_EMAIL") && > export GIT_AUTHOR_NAME GIT_AUTHOR_EMAIL GIT_COMMITTER_NAME GIT_COMMITTER_EMAIL > ' -- --all >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 361611
: 205690 |
205692