Re: [PATCH] Add git-config --remove-section, document --rename-section

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

 



Hi,

On Thu, 1 Mar 2007, Paolo Bonzini wrote:

> As per the subject.  The existing --rename-section option is 
> undocumented, while --remove-section is added by this patch based on the 
> code I had written for the "git branch" patch.

Am I right assuming that you copied rename_section(), and modified it to 
be remove_section()?

How about modifying rename_section() so that if new_name == NULL, it 
removes the section?

But I like the way you extracted section_name_match(). Makes the code much 
more readable.

Ciao,
Dscho

-
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]