-
Notifications
You must be signed in to change notification settings - Fork 1
/
i_branch.html
183 lines (142 loc) · 9.87 KB
/
i_branch.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
<span id="c_branch" class="s170 bold">**c_branch**</span>
<span id="latest_commit" class="s80 gray">97f809b 4 minutes ago </span>
<a href="javascript:void(0)" onClick="makePaneStatus('replace'); openPaneCenter('pane_status');" class="btn">
status<span id="br_status_ct" class="bold s150">**br_status_ct**</span>
</a>
<a href="javascript:void(0)" onClick="makePaneFilelist(''); openPaneCenter('pane_filelist');" >
files<span id="br_files_ct" class="bold s150">**br_files_ct**</span>
</a>
<a href="javascript:void(0)" onClick="makePaneLog('','line') " >
commit<span id="br_commit_ct" class="bold s150">**br_commit_ct**</span>
</a>
<a href="javascript:void(0)" onClick="makePaneUser(''); openPaneCenter('pane_user');" >
comitter<span id="br_member_ct" class="bold s150">**br_member_ct**</span>
</a>
<span onClick="openPaneCenter('pane_gitcommand'); $('#git_usercommand').focus() " class="btn ">git_command</span>
<!-- pane center -->
<div id="pane_gitdiff" pane="center" class="detail code">
gitdiff
<div id="pane_gitdiff_detail" ></div>
</div>
<div id="pane_gitcommand" pane="center" class="detail code">
<span class="gray">
<span onClick="$('#git_usercommand').val('GIT_TRACE_SETUP=true '); $('#git_usercommand').focus() " class="btn" >GIT_TRACE_SETUP=true</span> git status #gitが見つけた基準dirを全部表示<br/>
<span onClick="$('#git_usercommand').val('GIT_TRACE_PERFORMANCE=true '); $('#git_usercommand').focus() " class="btn" >GIT_TRACE_PERFORMANCE=true</span> git status #各Commandの処理時間を表示<br/>
<span onClick="$('#git_usercommand').val('GIT_TRACE_PACKET=true '); $('#git_usercommand').focus() " class="btn" >GIT_TRACE_PACKET=true</span> git ls-remote origin # 中身のcurlをパケット単位で追跡<br/>
<span onClick="$('#git_usercommand').val('GIT_TRACE_PACK_ACCESS=true '); $('#git_usercommand').focus() " class="btn" >GIT_TRACE_PACK_ACCESS=true</span> git status # packファイル gitの内部のアクセスを表示<br/>
<span onClick="$('#git_usercommand').val('GIT_TRACE=true '); $('#git_usercommand').focus() " class="btn" >GIT_TRACE=true</span> git stash list # 内部Commandへの、内部エイリアスの変換の順路を表示<br/><br/>
</span>
<input id="git_usercommand" type="text" size="70" placeholder="git command" />
<button onClick="osRunOut($('#git_usercommand').val(),'pane_gitcommand_detail','replace')" placeholder="git command" >run</button>
<br/>
<div id="pane_gitcommand_info"></div>
<div id="pane_gitcommand_detail"></div>
</div>
<div id="pane_status" pane="center" class="detail code">
<div class="vm10 fMenu s150 btn">
<span id="btn_st_status" href="javascript:void(0);" onClick=" setSelectBold(this); makePaneStatus('replace'); togglePaneStatus('pane_status_status','toggle') " >status</span>
<span id="btn_st_add" href="javascript:void(0);" onClick=" setSelectBold(this); gitAdd(); togglePaneStatus('pane_status_status','toggle')" class="">add</span>
<span id="btn_st_reset" href="javascript:void(0);" onClick=" setSelectBold(this); gitReset(); togglePaneStatus('pane_status_status','toggle')" class="">reset</span>
<span id="btn_st_commit" href="javascript:void(0);" onClick=" setSelectBold(this); togglePaneStatus('pane_status_commit','toggle')" >commit</span>
<span id="btn_st_stash" href="javascript:void(0);" onClick=" setSelectBold(this); togglePaneStatus('pane_status_stash','toggle')" >stash</span>
<span id="btn_st_clean" href="javascript:void(0);" onClick=" setSelectBold(this); prepareGitClean(); togglePaneStatus('pane_status_clean','toggle')" >clean</span>
<span id="btn_st_debug" onClick="togglePaneStatus('pane_status_debug','toggle'); " class="">debug</span>
</div>
<div id="pane_status_status" pane="status" class="hide">
</div>
<div id="pane_status_commit" pane="status" class="hide">
commit<br/>
<input id="commit_msg" type="text" placeholder="commit_msg name" />
<button onClick="osRunOut('git commit -m \'' + $('#commit_msg').val() + '\'','pane_status_detail','replace',function(){makePaneStatus('append')}); " >commit</button>
<br/>
</div>
<div id="pane_status_stash" pane="status" class="hide">
stash <span class="silver s80">git stash comment01 </span><br/>
<input id="stash_comment" type="text" placeholder="stash comment" />
<button onClick="osRunOut('git stash save \'' + $('#stash_comment').val() + '\'','pane_status_detail','replace',function(){ makePaneStatus('append');showStashList('replace'); }); " >stash</button>
</div>
<div id="pane_status_clean" pane="status" class="hide">
clean
<button onClick="runGitClean()" >clean</button>
</div>
<div id="pane_status_debug" pane="status" class="hide">
<span onClick="debugEditAndCommit()" class="btn s150" >edit>add>Commit</span><br/>
<span onClick="debugEditAndStash()" class="btn s150" >edit>add>Stash</span><br/>
<span onClick="debugEditAndAdd()" class="btn s150" >edit>add</span><br/>
<span onClick="debugEditAndAdd()" class="btn s150" >edit</span>
<div id="pane_debug_detail"></div>
</div>
<div id="pane_status_detail"></div>
</div>
<div id="pane_file" pane="center" class="detail code">
File or Dir history<br/>
<input type="text" id="filter_file" value="" size=60 placeholder="set path" >
<button onClick="makePaneFileStat($('#filter_file').val()) " >stash</button>
<div id="pane_file_filename" > </div>
<div id="pane_file_desc" > </div>
<div id="pane_file_detail_1" > </div>
<div id="pane_file_detail_2" > </div>
</div>
<div id="pane_filelist" pane="center" class="detail code">
<table ><tr><td valign=top >
Dir<br/>
<span id="pane_filelist_detail" > </span>
</td><td valign=top >
File<br/>
<span id="pane_filelist_ext" > </span><br/>
<input type="text" id="filter_filelist" value="" size=20 >
<span class="s80 gray">RecentCommit</span>
<span onClick="makePaneFilelist( $('#filter_filelist').val() , 'git diff HEAD~5 HEAD --name-only ')" class="btn ">〜5c</span>
<span onClick="makePaneFilelist( $('#filter_filelist').val() , 'git diff HEAD~10 HEAD --name-only ')" class="btn ">10c</span>
<span onClick="makePaneFilelist( $('#filter_filelist').val() , 'git diff HEAD~30 HEAD --name-only ')" class="btn ">30c</span>
<span onClick="makePaneFilelist( $('#filter_filelist').val() , 'git diff HEAD~100 HEAD --name-only ')" class="btn ">100c</span>
<br/>
<span id="pane_filelist_detail_r" > </span>
</td></tr></table>
</div>
<div id="pane_diff" pane="center" class="detail code">
<input type="text" id="filter_diff" value="" size=20 >
<div id="pane_diff_detail"></div>
</div>
<div id="pane_log" pane="center" class="detail code ">
<div class="vm10 fMenu underline">
<span class="btn s150">
<a href="javascript:void(0);" onClick="setSelect(this);
_G.log_lineOrTree='line';
makePaneLog($('#filter_log').html(),_G.log_lineOrTree )" class="bold">line</a>
<a href="javascript:void(0);" onClick="
setSelect(this);
_G.log_lineOrTree='tree';
makePaneLog($('#filter_log').html(),_G.log_lineOrTree)" >tree</a>
</span>
<span >
branch:
<a href="javascript:void(0);" class="silver bold" onClick="
setSelect(this);
_G.log_all='';
makePaneLog($('#filter_log').html(),_G.log_lineOrTree)
" >current</a>
<a href="javascript:void(0);" class="silver" onclick="
setSelect(this);
_G.log_all=' --all ';
makePaneLog($('#filter_log').html(),_G.log_lineOrTree)
" >all</a>
</span>
<span>
remote:
local inclideRemote
</span>
<span>
sort:
parentChild time
</span>
</div>
<input type="text" id="filter_log" value="" size=20 placeholder="filter" >
<div id="pane_log_detail"></div>
</div>
<div id="pane_user" pane="center" class="detail code">
<input type="text" id="filter_user" value="" size=20 >
<div id="pane_user_detail"></div>
</div>
<div id="pane_commit" pane="center" class="detail code">
</div>