[Webkit-unassigned] [Bug 38156] many webkit-patch commands fail in a non-svn tracking git checkout

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri May 28 20:49:05 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=38156





--- Comment #14 from Chris Jerdonek <cjerdonek at webkit.org>  2010-05-28 20:49:04 PST ---
(In reply to comment #12)
> > Question: do all git commands also accept a fully-qualified reference path (i.e.
> > branch "ref") wherever a simple branch name is accepted?
> 
> No. git branch -D fails if you give it a reference. That's the only case I've found so far that doesn't accept a reference.

>From the below, it looks like it accepts a reference.  Perhaps what you meant is that it only accepts branch references (and not, say, remote-tracking references).

> -    def delete_branch(self, branch):
> -        if self.run(['git', 'show-ref', '--quiet', '--verify', 'refs/heads/' + branch], return_exit_code=True) == 0:
> -            self.run(['git', 'branch', '-D', branch])
> +    def delete_branch(self, branch_name):
> +        if self._branch_ref_exists('refs/heads/' + branch_name):
> +            self.run(['git', 'branch', '-D', branch_name])

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list