Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
vcsh
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Kevin Lyda
vcsh
Commits
0ea8735c
Commit
0ea8735c
authored
10 years ago
by
Mert Dirik
Browse files
Options
Downloads
Patches
Plain Diff
Check for existence of 'comm' command
parent
974ccb02
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
vcsh
+6
-0
6 additions, 0 deletions
vcsh
with
6 additions
and
0 deletions
vcsh
+
6
−
0
View file @
0ea8735c
...
...
@@ -284,7 +284,13 @@ retire() {
unset
VCSH_DIRECTORY
}
command_exists
()
{
command
-v
"
$1
"
>
/dev/null 2>&1
||
fatal
"Could not find '
$1
' command"
}
list_untracked
()
{
command_exists
comm
temp_file_others
=
$(
mktemp
)
||
fatal
'Could not create temp file'
temp_file_untracked
=
$(
mktemp
)
||
fatal
'Could not create temp file'
temp_file_untracked_copy
=
$(
mktemp
)
||
fatal
'Could not create temp file'
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment