login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
git
»
2007
»
October
»
4
Re: [PATCH] git-init: don't base core.filemode on the ability to chmod.
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Martin Waitz
Subject:
Re: [PATCH] git-init: don't base core.filemode on the ability to chmod.
Date: Thursday, October 4, 2007 - 12:15 am
hoi :) On Thu, Oct 04, 2007 at 12:54:06AM +0100, Johannes Schindelin wrote:
quoted text
> > - filemode =3D (!chmod(path, st1.st_mode ^ S_IXUSR) && > > + /* test that new files are not created with X bit */ > > + filemode =3D !(st1.st_mode & S_IXUSR); > > + /* test that we can modify the X bit */ > > + filemode &=3D (!chmod(path, st1.st_mode ^ S_IXUSR) && >=20 > Should that not be &&=3D?
originally I wrote it that way but the compiler complaint. I guess we are too used to perl ;-) --=20 Martin Waitz
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH] git-init: don't base core.filemode on the ability ...
, Martin Waitz
, (Wed Oct 3, 3:55 am)
Re: [PATCH] git-init: don't base core.filemode on the abil ...
, Johannes Sixt
, (Wed Oct 3, 5:19 am)
[PATCH] git-init: don't base core.filemode on the ability ...
, Martin Waitz
, (Wed Oct 3, 4:19 pm)
Re: [PATCH] git-init: don't base core.filemode on the abil ...
, Johannes Schindelin
, (Wed Oct 3, 4:54 pm)
Re: [PATCH] git-init: don't base core.filemode on the abil ...
, Andreas Ericsson
, (Wed Oct 3, 11:05 pm)
Re: [PATCH] git-init: don't base core.filemode on the abil ...
, Junio C Hamano
, (Wed Oct 3, 11:23 pm)
Re: [PATCH] git-init: don't base core.filemode on the abil ...
, Martin Waitz
, (Thu Oct 4, 12:15 am)
Re: [PATCH] git-init: don't base core.filemode on the abil ...
, Martin Waitz
, (Thu Oct 4, 12:17 am)
Re: [PATCH] git-init: don't base core.filemode on the abil ...
, Junio C Hamano
, (Thu Oct 4, 1:21 am)
Re: [PATCH] git-init: don't base core.filemode on the abil ...
, Johannes Sixt
, (Thu Oct 4, 1:36 am)
Re: [PATCH] git-init: don't base core.filemode on the abil ...
, Martin Waitz
, (Thu Oct 4, 1:42 am)
Re: [PATCH] git-init: don't base core.filemode on the abil ...
, Andreas Ericsson
, (Thu Oct 4, 3:33 am)
Re: [PATCH] git-init: don't base core.filemode on the abil ...
, Johannes Schindelin
, (Thu Oct 4, 5:49 am)
Re: [PATCH] git-init: don't base core.filemode on the abil ...
, Jan Hudec
, (Wed Oct 10, 2:47 am)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Ingo Molnar
Re: [PATCH 0/3] v2 Make hierarchical RCU less IPI-happy and add more tracing
Jeremy Fitzhardinge
Re: Linux 2.6.28.10 and Linux 2.6.29.6 XEN Guest Support Broken x86_64 in BUILD
Nick Piggin
Re: [patch] CFS (Completely Fair Scheduler), v2
Gary Hade
Re: [PATCH 0/5][RFC] Physical PCI slot objects
Dave Johnson
Re: expected behavior of PF_PACKET on NETIF_F_HW_VLAN_RX device?
linux-netdev
:
Arnd Bergmann
Re: 64-bit net_device_stats
Stephens, Allan
RE: [PATCH]: tipc: Fix oops on send prior to entering networked mode
frank.blaschka
[patch 3/5] [PATCH] qeth: support z/VM VSWITCH Port Isolation
Wu Fengguang
Re: [PATCH] dm9601: handle corrupt mac address
David Miller
Re: [PATCH net-2.6.24] Fix refcounting problem with netif_rx_reschedule()
git
:
Junio C Hamano
Re: [PATCH] [RFC] add Message-ID field to log on git-am operation
Junio C Hamano
Re: Handling large files with GIT
Karl
Re: [ANNOUNCE] pg - A patch porcelain for GIT
Josh Triplett
Re: [RFC][PATCH 00/10] Sparse: Git's "make check" target
Pierre Habouzit
Re: [PATCH] git-daemon: more powerful base-path/user-path settings, using formats.
git-commits-head
:
Linux Kernel Mailing List
MIPS: RBTX4939: Fix IOC pin-enable register updating
Linux Kernel Mailing List
regulator: update email address for Liam Girdwood
Linux Kernel Mailing List
[SCSI] ipr: add message to error table
Linux Kernel Mailing List
powerpc/32: Wire up the trampoline code for kdump
Linux Kernel Mailing List
USB: omap_udc: sync with OMAP tree
openbsd-misc
:
Josh Grosse
Re: error : pkg add phpMyAdmin
Brian Candler
Re: OBSD's perspective on SELinux
Jacob Meuser
Re: /dev/audio: Device busy
David Vasek
Re: Inexpensive, low power, "wall wart" computer
William Boshuck
Re: Richard Stallman...
Colocation donated by:
Syndicate