Re: [PATCH] git-gui: '/dev/null' on Windows is named 'nul'

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

 



Johannes Sixt <J.Sixt@xxxxxxxxxxxxx> wrote:
> From: Johannes Sixt <johannes.sixt@xxxxxxxxxx>
> 
> Making (or amending) an initial commit on Windows fails because
> redirecting something to '/dev/null' must fail - this device does not exist.
> Redirect to 'nul' instead.
> 
> Signed-off-by: Johannes Sixt <johannes.sixt@xxxxxxxxxx>
> ---
>  I've noticed this while using the MinGW port, but I do not know whether
>  this is needed or even works on Cygwin.

I had previously fixed this in gitgui-0.6.3, which is now also
merged into `maint` in git.git.  It was fixed by just removing that
redirection block, in git 1.5.0 and later commit-tree doesn't print
anything on stderr when making an initial commit.
 
-- 
Shawn.
-
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]