Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
6
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
A
attic
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
hydrargyrum
attic
Commits
cffb5360
Commit
cffb5360
authored
Jan 25, 2020
by
hydrargyrum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
git-blamed-diff: fix comparison between working directory and HEAD
parent
57cd8631
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
git/git-blamed-diff
git/git-blamed-diff
+3
-1
No files found.
git/git-blamed-diff
View file @
cffb5360
...
...
@@ -37,7 +37,9 @@ tmpa=$(mktemp blame.XXXXXX)
tmpb
=
$(
mktemp
blame.XXXXXX
)
blame
"
$1
"
"
$arev
"
>
"
$tmpa
"
blame
"
$1
"
"
$brev
"
>
"
$tmpb
"
# $brev should not be quoted
# if it's empty, it should not take one argument
blame
"
$1
"
$brev
>
"
$tmpb
"
# -w to ignore git-blame's pesky alignment
diff
-w
-u
"
$tmpa
"
"
$tmpb
"
\
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment