I trying to test two different versions of a patch that add files. These patches create a new directory and add several files. When I pop a version of the patch the directory and files and not getting removed. This causes an error when I push the alternative version of the patch. jonsmirl@terra:~/mpc5200b$ stg series + 0001-powerpc-exports-rheap-symbol-to-modules.patch + 0002-powerpc-Changes-the-config-mechanism-for-rheap.patch + 0003-powerpc-ppc32-Update-mpc52xx_psc-structure-with-B-r.patch + 0004-powerpc-BestComm-core-support-for-Freescale-MPC5200.patch + 0005-powerpc-BestcComm-ATA-task-support.patch + 0006-powerpc-BestcComm-FEC-task-support.patch + 0007-powerpc-BestcComm-GenBD-task-support.patch + ignore-uImage + 0008-drivers-net-Add-support-for-Freescale-MPC5200-SoC-i.patch + 0009-sound-Add-support-for-Freescale-MPC5200-AC97-interf.patch + 0010-powerpc-In-rheap.c-move-the-EXPORT_SYMBOL-and-use.patch + 0011-powerpc-BestComm-move-the-EXPORT_SYMBOL-and-use-th.patch + 0012-powerpc-BestComm-ATA-task-move-the-EXPORT_SYMBOL-a.patch + 0013-powerpc-BestComm-FEC-task-move-the-EXPORT_SYMBOL-a.patch + 0014-powerpc-BestComm-GenBD-task-move-the-EXPORT_SYMBOL.patch + 0015-powerpc-BestComm-Replace-global-variable-bcom-by-b.patch + 0016-powerpc-Make-the-BestComm-driver-a-standard-of_plat.patch + 0017-powerpc-Fix-typo-in-BestComm-ATA-task-support-code.patch + 0018-powerpc-BestComm-ATA-task-microcode-insert-copyri.patch + 0019-powerpc-BestComm-FEC-task-microcode-insert-copyri.patch + 0020-powerpc-BestComm-GenBD-task-microcode-insert-copy.patch + 0021-powerpc-Fix-errors-in-bcom-bcom_eng-renaming.patch + Makefile + pcm030_bsp_powerpc + fs_jffs2_use_memcpy_fromio + gpio_frame + ppc_gpio + GPIO-adaption + mpc52xx_restart > pcm_dts_eth_phys - domen-fec jonsmirl@terra:~/mpc5200b$ stg pop 0008-drivers-net-Add-support-for-Freescale-MPC5200-SoC-i.patch.. Checking for changes in the working directory ... done Popping patches "pcm_dts_eth_phys" - "0008-drivers-net-Add-support-for-Freescale-MPC5200-SoC-i.patch" ... done Now at patch "ignore-uImage" jonsmirl@terra:~/mpc5200b$ stg series + 0001-powerpc-exports-rheap-symbol-to-modules.patch + 0002-powerpc-Changes-the-config-mechanism-for-rheap.patch + 0003-powerpc-ppc32-Update-mpc52xx_psc-structure-with-B-r.patch + 0004-powerpc-BestComm-core-support-for-Freescale-MPC5200.patch + 0005-powerpc-BestcComm-ATA-task-support.patch + 0006-powerpc-BestcComm-FEC-task-support.patch + 0007-powerpc-BestcComm-GenBD-task-support.patch > ignore-uImage - 0008-drivers-net-Add-support-for-Freescale-MPC5200-SoC-i.patch - 0009-sound-Add-support-for-Freescale-MPC5200-AC97-interf.patch - 0010-powerpc-In-rheap.c-move-the-EXPORT_SYMBOL-and-use.patch - 0011-powerpc-BestComm-move-the-EXPORT_SYMBOL-and-use-th.patch - 0012-powerpc-BestComm-ATA-task-move-the-EXPORT_SYMBOL-a.patch - 0013-powerpc-BestComm-FEC-task-move-the-EXPORT_SYMBOL-a.patch - 0014-powerpc-BestComm-GenBD-task-move-the-EXPORT_SYMBOL.patch - 0015-powerpc-BestComm-Replace-global-variable-bcom-by-b.patch - 0016-powerpc-Make-the-BestComm-driver-a-standard-of_plat.patch - 0017-powerpc-Fix-typo-in-BestComm-ATA-task-support-code.patch - 0018-powerpc-BestComm-ATA-task-microcode-insert-copyri.patch - 0019-powerpc-BestComm-FEC-task-microcode-insert-copyri.patch - 0020-powerpc-BestComm-GenBD-task-microcode-insert-copy.patch - 0021-powerpc-Fix-errors-in-bcom-bcom_eng-renaming.patch - Makefile - pcm030_bsp_powerpc - fs_jffs2_use_memcpy_fromio - gpio_frame - ppc_gpio - GPIO-adaption - mpc52xx_restart - pcm_dts_eth_phys - domen-fec jonsmirl@terra:~/mpc5200b$ stg push domen-fec Checking for changes in the working directory ... done Pushing patch "domen-fec" ... error: drivers/net/fec_mpc52xx/Kconfig: already exists in working directory error: drivers/net/fec_mpc52xx/Makefile: already exists in working directory error: drivers/net/fec_mpc52xx/fec.c: already exists in working directory error: drivers/net/fec_mpc52xx/fec.h: already exists in working directory error: drivers/net/fec_mpc52xx/fec_phy.c: already exists in working directory fatal: Untracked working tree file 'drivers/net/fec_mpc52xx/Kconfig' would be overwritten by merge. Error: The merge failed during "push". Use "refresh" after fixing the conflicts or revert the operation with "push --undo". stg push: git-merge-recursive failed with code 128 jonsmirl@terra:~/mpc5200b$ stg push --undo Undoing push of "domen-fec" ... done Now at patch "ignore-uImage" jonsmirl@terra:~/mpc5200b$ stg status ? drivers/net/fec_mpc52xx/ jonsmirl@terra:~/mpc5200b$ -- Jon Smirl jonsmirl@xxxxxxxxx - 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