GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — doc: fix recommendation to use useless config by matkoniecz · Pull Request #12445 · nodejs/node

Conversation

@matkoniecz

@matkoniecz matkoniecz commented Apr 16, 2017

Copy link
Copy Markdown
Contributor
Checklist
  • documentation is changed or added
  • commit message follows commit guidelines
Affected core subsystem(s)

doc

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@nodejs-github-bot nodejs-github-bot added the doc Issues and PRs related to Node.js documentation. label Apr 16, 2017
@matkoniecz matkoniecz mentioned this pull request Apr 16, 2017
Using core.whitespace fix in git #11412
Closed
@benjamingr

benjamingr commented Apr 16, 2017

Copy link
Copy Markdown
Member

Why useless?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@gibfahn

gibfahn commented Apr 16, 2017

Copy link
Copy Markdown
Member

Why useless?

See: #11412

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

gibfahn
gibfahn suggested changes Apr 16, 2017
View reviewed changes

@gibfahn gibfahn left a comment •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it should be git config --global --add apply.whitespace fix, as that fixes whitespace when you apply a patch, which is where a collaborator would need it.

Also a Refs: https://github.com/nodejs/node/issues/11412 in the commit message would be good.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@gibfahn

gibfahn commented Apr 16, 2017 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

Please could you format your commit message according to the Contributing Guidelines?

Maybe something like this?

doc: correct git fix whitespace command

Refs: https://github.com/nodejs/node/issues/11412

If you don't have time it can be rewritten by whoever lands this, but if you are going to help out more on the project (as I hope you do), then it saves work if you produce better commit messages.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@matkoniecz

matkoniecz commented Apr 17, 2017

Copy link
Copy Markdown
Contributor Author

I reformatted commit message.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@matkoniecz

matkoniecz commented Apr 17, 2017

Copy link
Copy Markdown
Contributor Author

I think it should be git config --global --add apply.whitespace fix, as that fixes whitespace when you apply a patch, which is where a collaborator would need it.

It makes sense, given "Please never use GitHub's green "Merge Pull Request" button" in https://github.com/nodejs/node/blob/master/COLLABORATOR_GUIDE.md#landing-pull-requests .

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@matkoniecz

matkoniecz commented Apr 17, 2017

Copy link
Copy Markdown
Contributor Author

@gibfahn It is ready for rereview.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@mscdex

mscdex commented Apr 17, 2017 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Minor nit: there's a typo in the commit message (below the first line).

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@mscdex mscdex added the meta Issues and PRs related to the general management of the project. label Apr 17, 2017
@matkoniecz
doc: correct git fix whitespace command
1e12c73
Old config instruction instructed people to enable option that does not exist and is silently ignored by git
Refs: #11412
@matkoniecz

matkoniecz commented Apr 17, 2017

Copy link
Copy Markdown
Contributor Author

Minor nit: there's a typo in the commit message (below the first line).

Thanks, should be fixed now.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@matkoniecz matkoniecz changed the title remove recommendation to use useless config fix recommendation to use useless config Apr 17, 2017
gibfahn
gibfahn approved these changes Apr 17, 2017
View reviewed changes
refack
refack approved these changes Apr 17, 2017
View reviewed changes
@matkoniecz matkoniecz closed this Apr 17, 2017
@matkoniecz matkoniecz reopened this Apr 17, 2017
jasnell
jasnell approved these changes Apr 18, 2017
View reviewed changes
jasnell pushed a commit that referenced this pull request Apr 18, 2017
@matkoniecz @jasnell
doc: correct git fix whitespace command
def78e8
Use apply.whitespace=fix rather than core.whitespace=fix

Ref: #11412
PR-URL: #12445
Reviewed-By: Gibson Fahnestock <[email protected]>
Reviewed-By: Refael Ackermann <[email protected]>
Reviewed-By: James M Snell <[email protected]>
@jasnell jasnell changed the title fix recommendation to use useless config doc: fix recommendation to use useless config Apr 18, 2017
@jasnell

jasnell commented Apr 18, 2017

Copy link
Copy Markdown
Member

Landed in def78e8 with a modified commit log message.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@jasnell jasnell closed this Apr 18, 2017
@Fishrock123

Fishrock123 commented Apr 18, 2017

Copy link
Copy Markdown
Contributor

@jasnell commit did not link?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@jasnell

jasnell commented Apr 18, 2017 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

That's odd! let's try again with the full hash def78e8
(yeah, short hash did not auto link for some unknown reason)

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@gibfahn

gibfahn commented Apr 18, 2017

Copy link
Copy Markdown
Member

@jasnell yeah I've noticed it not link properly quite a few times, possibly a GitHub issue. I generally just go to https://github.com/nodejs/node and click on the Latest commit link, and then just paste in the full url (i.e. https://github.com/nodejs/node/commit/2519757b800a21c6b93490372841bc58307c46b7), that way you know it worked.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@aqrln

aqrln commented Apr 18, 2017 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Maybe we are starting to be out of seven-character hashes and there was an ambiguity. FWIW, I copy the full commit hash via git rev-parse HEAD | pbcopy on macOS (I believe git rev-parse HEAD | xclip -selection clipboard should do the same on Linux) right after committing to master.

UPD: nope, no ambiguity, that's the only commit to start with def78e8.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@matkoniecz
matkoniecz deleted the remove_useless branch April 19, 2017 11:23
evanlucas pushed a commit that referenced this pull request Apr 25, 2017
@matkoniecz @evanlucas
doc: correct git fix whitespace command
64b25f6
Use apply.whitespace=fix rather than core.whitespace=fix

Ref: #11412
PR-URL: #12445
Reviewed-By: Gibson Fahnestock <[email protected]>
Reviewed-By: Refael Ackermann <[email protected]>
Reviewed-By: James M Snell <[email protected]>
@evanlucas evanlucas mentioned this pull request May 1, 2017
v7.10.0 proposal #12775
Merged
evanlucas pushed a commit that referenced this pull request May 1, 2017
@matkoniecz @evanlucas
doc: correct git fix whitespace command
d208c15
Use apply.whitespace=fix rather than core.whitespace=fix

Ref: #11412
PR-URL: #12445
Reviewed-By: Gibson Fahnestock <[email protected]>
Reviewed-By: Refael Ackermann <[email protected]>
Reviewed-By: James M Snell <[email protected]>
evanlucas pushed a commit that referenced this pull request May 2, 2017
@matkoniecz @evanlucas
doc: correct git fix whitespace command
3d8878c
Use apply.whitespace=fix rather than core.whitespace=fix

Ref: #11412
PR-URL: #12445
Reviewed-By: Gibson Fahnestock <[email protected]>
Reviewed-By: Refael Ackermann <[email protected]>
Reviewed-By: James M Snell <[email protected]>
@gibfahn gibfahn added the land-on-v6.x label May 16, 2017
gibfahn pushed a commit that referenced this pull request May 16, 2017
@matkoniecz @gibfahn
doc: correct git fix whitespace command
4787741
Use apply.whitespace=fix rather than core.whitespace=fix

Ref: #11412
PR-URL: #12445
Reviewed-By: Gibson Fahnestock <[email protected]>
Reviewed-By: Refael Ackermann <[email protected]>
Reviewed-By: James M Snell <[email protected]>
MylesBorins pushed a commit that referenced this pull request May 18, 2017
@matkoniecz @MylesBorins
doc: correct git fix whitespace command
bc40169
Use apply.whitespace=fix rather than core.whitespace=fix

Ref: #11412
PR-URL: #12445
Reviewed-By: Gibson Fahnestock <[email protected]>
Reviewed-By: Refael Ackermann <[email protected]>
Reviewed-By: James M Snell <[email protected]>
@MylesBorins MylesBorins mentioned this pull request May 23, 2017
v6.11.0 proposal #13059
Merged
andrew749 pushed a commit to michielbaird/node that referenced this pull request Jul 19, 2017
@matkoniecz @andrew749
doc: correct git fix whitespace command
dddb946
Use apply.whitespace=fix rather than core.whitespace=fix

Ref: nodejs/node#11412
PR-URL: nodejs/node#12445
Reviewed-By: Gibson Fahnestock <[email protected]>
Reviewed-By: Refael Ackermann <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@jasnell jasnell jasnell approved these changes
+2 more reviewers
@refack refack refack approved these changes
@gibfahn gibfahn gibfahn approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

doc Issues and PRs related to Node.js documentation. meta Issues and PRs related to the general management of the project.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

9 participants

@matkoniecz @benjamingr @gibfahn @mscdex @jasnell @Fishrock123 @aqrln @refack @nodejs-github-bot
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.