Re: starting off

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, May 7, 2008 at 2:17 PM, Matt Davies <mjdavies@xxxxxxxxxx> wrote:
> Hello everyone
>
>  I'm as new as new can be so please be gentle.
>
>  git version 1.5.4.5

Can you remove the double spacing?

>
>  I'm following the peepcode tutorial peepcode-015-git.mov
>
>  I've created a branch, and now we're trying to use
>
>  rebase to 'watch' the master branch from the new branch.
>
>  When I run the rebase command from the other branch
>
>  I get these types of warnings/errors
>
>  http://pastie.caboo.se/192951

Why a link? Paste this inside the mail, this way the mail is self
consistent, the others do not have to go to this site and can quote
it.

>
>  Can someone explain to me what's happening here and if I
>
>  should be worried about it?

Some of the patches introduced lines with trailing whitespaces, git
apply warns about it. You can remove the warnings setting the config
"apply.whitespace" to nowarn, or you can remove them or get used to.

The final result was OK? what you expected?  Did it keept the trailing
whitespaces?

You can try rebase with different
--whitespaces=<nowarn|warn|fix|error|error-all>

>
>  If I should be worried about it
>
>  can anyone point me in the direction of some
>
>  documentation of a good (easy)way
>
>  to remove the whitespace?
>

git rebase --whitespace=fix

At least 1.5.5

>  Thanks everyone.
>
>  PS, I do check the archives and found this from yesterday
>
>  http://thread.gmane.org/gmane.comp.version-control.git/76650/focus=81336

It's a long mail...

Santi
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux