summaryrefslogtreecommitdiff
path: root/git-gui/lib/commit.tcl
diff options
context:
space:
mode:
authorTor Arvid Lund <torarvid@gmail.com>2008-12-04 14:37:33 +0100
committerJunio C Hamano <gitster@pobox.com>2008-12-04 18:44:16 -0800
commit7f705dc3686c2b1c77172b6847c1406eb66a20c3 (patch)
treef971b4dd147c60ae081185e4b2aa4239e3678a54 /git-gui/lib/commit.tcl
parent304dcf262e3f8524c909a13cf73a67522be6353b (diff)
downloadgit-7f705dc3686c2b1c77172b6847c1406eb66a20c3.tar.gz
git-p4: Fix bug in p4Where method.
When running: p4 where //depot/SomePath/... The result can in some situations look like: //depot/SomePath/... //client/SomePath/... /home/user/p4root/SomePath/... -//depot/SomePath/UndesiredSubdir/... //client/SomePath/UndesiredSubdir/... /home/user/p4root/SomePath/UndesiredSubdir/... This depends on the users Client view. The current p4Where method will now return /home/user/p4root/SomePath/UndesiredSubdir/... which is not what we want. This patch loops through the results from "p4 where", and picks the one where the depotFile exactly matches the given depotPath (//depot/SomePath/... in this example). Signed-off-by: Tor Arvid Lund <torarvid@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-gui/lib/commit.tcl')
0 files changed, 0 insertions, 0 deletions