Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Intellij Community
Commits
75a97108
Commit
75a97108
authored
8 years ago
by
Nadya Zabrodina
Browse files
Options
Download
Email Patches
Plain Diff
[git]: delegate not-committed hash constant
parent
b2be2ba3
Branches unavailable
Tags unavailable
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
plugins/git4idea/src/git4idea/GitRevisionNumber.java
+2
-2
plugins/git4idea/src/git4idea/GitRevisionNumber.java
with
2 additions
and
2 deletions
+2
-2
plugins/git4idea/src/git4idea/GitRevisionNumber.java
+
2
-
2
View file @
75a97108
...
...
@@ -18,8 +18,8 @@ package git4idea;
import
com.intellij.dvcs.DvcsUtil
;
import
com.intellij.openapi.diagnostic.Logger
;
import
com.intellij.openapi.project.Project
;
import
com.intellij.openapi.util.text.StringUtil
;
import
com.intellij.openapi.vcs.VcsException
;
import
com.intellij.openapi.vcs.changes.patch.BlobIndexUtil
;
import
com.intellij.openapi.vcs.history.ShortVcsRevisionNumber
;
import
com.intellij.openapi.vcs.history.VcsRevisionNumber
;
import
com.intellij.openapi.vfs.VirtualFile
;
...
...
@@ -38,7 +38,7 @@ public class GitRevisionNumber implements ShortVcsRevisionNumber {
/**
* the hash from 40 zeros representing not yet created commit
*/
public
static
final
String
NOT_COMMITTED_HASH
=
StringUtil
.
repeat
(
"0"
,
40
)
;
public
static
final
String
NOT_COMMITTED_HASH
=
BlobIndexUtil
.
NOT_COMMITTED_HASH
;
public
static
final
GitRevisionNumber
HEAD
=
new
GitRevisionNumber
(
"HEAD"
);
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
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
Menu
Projects
Groups
Snippets
Help