Keyboard Shortcuts

File
u :up to issue
m :publish + mail comments
M :edit review message
j / k :jump to file after / before current file
J / K :jump to next file with a comment after / before current file
Side-by-side diff
i :toggle intra-line diffs
e :expand all comments
c :collapse all comments
s :toggle showing all comments
n / p :next / previous diff chunk or comment
N / P :next / previous comment
<Up> / <Down> :next / previous line
<Enter> :respond to / edit current comment
d :mark current comment as done
Issue
u :up to list of issues
m :publish + mail comments
j / k :jump to patch after / before current patch
o / <Enter> :open current patch in side-by-side view
i :open current patch in unified diff view
Issue List
j / k :jump to issue after / before current issue
o / <Enter> :open current issue
# : close issue
Comment/message editing
<Ctrl> + s or <Ctrl> + Enter :save comment
<Esc> :cancel edit
Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(629)
Issues Repositories Search
Open Issues | Closed Issues | All Issues | Sign in with your Google Account to create issues and add comments

Issue 11920: Add the --no-ext-diff flag to git-cl and upload.py. But since

Can't Edit
Can't Publish+Mail
Start Review
Created:
16 years, 12 months ago by nickcarter
Modified:
16 years, 11 months ago
CC:
evanm
Visibility:
Public.
Add the --no-ext-diff flag to git-cl and upload.py. But since this is broken in every version of Git that I tried, override the GIT_EXTERNAL_DIFF environment variable too, which has the advantage of actually working.

Patch Set 1 #

Total comments: 5
Created: 16 years, 12 months ago
Download [raw] [tar.bz2]
Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -6 lines) Patch
M git-cl View 1 chunk +7 lines, -1 line 1 comment Download
M upload.py View 4 chunks +13 lines, -5 lines 4 comments Download
Total messages: 2
|
Evan Martin
LGTM http://codereview.appspot.com/11920/diff/1/2 File git-cl (right): http://codereview.appspot.com/11920/diff/1/2#newcode371 Line 371: if 'GIT_EXTERNAL_DIFF' in env: del env['GIT_EXTERNAL_DIFF'] newline ...
16 years, 12 months ago (2009年01月16日 22:50:52 UTC) #1
LGTM
http://codereview.appspot.com/11920/diff/1/2
File git-cl (right):
http://codereview.appspot.com/11920/diff/1/2#newcode371
Line 371: if 'GIT_EXTERNAL_DIFF' in env: del env['GIT_EXTERNAL_DIFF']
newline after colon
http://codereview.appspot.com/11920/diff/1/3
File upload.py (right):
http://codereview.appspot.com/11920/diff/1/3#newcode1005
Line 1005: if 'GIT_EXTERNAL_DIFF' in env: del env['GIT_EXTERNAL_DIFF']
here too
Sign in to reply to this message.
Andi Albrecht
http://codereview.appspot.com/11920/diff/1/3 File upload.py (right): http://codereview.appspot.com/11920/diff/1/3#newcode543 Line 543: env=os.environ): I think we should better use env=None ...
16 years, 11 months ago (2009年01月18日 08:50:42 UTC) #2
http://codereview.appspot.com/11920/diff/1/3
File upload.py (right):
http://codereview.appspot.com/11920/diff/1/3#newcode543
Line 543: env=os.environ):
I think we should better use env=None here as it's the default for
subprocess.Popen's env parameter too.
http://codereview.appspot.com/11920/diff/1/3#newcode580
Line 580: print_output=False, env=os.environ):
ditto
http://codereview.appspot.com/11920/diff/1/3#newcode1003
Line 1003: # git config key "diff.external" is used).
What about checking the output of "git conig --get diff.external" here and print
a info/warning if an external diff tool is used?
Sign in to reply to this message.
|
Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b

AltStyle によって変換されたページ (->オリジナル) /