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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Johannes Schindelin
Date: Friday, March 2, 2007 - 8:44 am

Hi,

On Fri, 2 Mar 2007, Paolo Bonzini wrote:


But it does not have to.

	if (buf[i] == '[') {
		if (section_name_match(&buf[i + 1], old_name) {
			if (new_name == NULL)
				remove = 1;
			else
				/* write new section */
			continue;
		}
		remove = 0;
	}
	if (!remove)
		/* write buf */

Ciao,
Dscho
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] add test for git-config --remove-section, Johannes Schindelin, (Thu Mar 1, 3:41 pm)
Re: [PATCH] Add git-config --remove-section, document --re ..., Johannes Schindelin, (Thu Mar 1, 3:46 pm)
Re: [PATCH] add test for git-config --remove-section, Paolo Bonzini, (Fri Mar 2, 1:14 am)
Re: [PATCH] Add git-config --remove-section, document --re ..., Johannes Schindelin, (Fri Mar 2, 4:23 am)
Re: [PATCH] Add git-config --remove-section, document --re ..., Johannes Schindelin, (Fri Mar 2, 8:44 am)
[PATCH] git-config: document --rename-section, provide --r ..., Johannes Schindelin, (Fri Mar 2, 1:53 pm)