Atomコードリーディングメモ
script/build
起動したらsrc/window-bootstrap.coffeeが起動時間のログを出してるので、そいつをgrepすると/src/broweser/atom-application.coffee が引っかかる。
src/broweser/atom-application.coffee は、 src/browser/main.coffee に呼ばれている
/* __ _ _ _____ _ _ ___ ___ __ ___ | |
* / _| /\ | | | | / ____| | | | | |__ \ / _ \/_ |/ _ \ | |
* | |_ _ __ ___ ___ ___ / \ __| |_ _____ _ __ | |_| | __ _| | ___ _ __ __| | __ _ _ __ ) | | | || | (_) | | |
* | _| '__/ _ \/ _ \/ _ \ / /\ \ / _` \ \ / / _ \ '_ \| __| | / _` | |/ _ \ '_ \ / _` |/ _` | '__| / /| | | || |> _ < | |
* | | | | | __/ __/ __/ / ____ \ (_| |\ V / __/ | | | |_| |___| (_| | | __/ | | | (_| | (_| | | / /_| |_| || | (_) | | |
* |_| |_| \___|\___|\___|/_/ \_\__,_| \_/ \___|_| |_|\__|\_____\__,_|_|\___|_| |_|\__,_|\__,_|_| |____|\___/ |_|\___/裏 | |
*/ | |
(+[[] | |
+(1e1>>1 | |
Locate the section for your github remote in the .git/config
file. It looks like this:
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = [email protected]:joyent/node.git
Now add the line fetch = +refs/pull/*/head:refs/remotes/origin/pr/*
to this section. Obviously, change the github url to match your project's URL. It ends up looking like this: